average for each day

toony

New member
Joined
Mar 6, 2014
Messages
49
Reaction score
0
Points
0
Location
UK
Excel Version(s)
Excel 2016
How to calculate the average of a range day by day? A is the column for the day, and the average should go at the top of each day. I’ve done the countif but it brings results in every cell other than at the top of each day;


=IF(COUNTIF(A2192:A2192,A2192)=1,AVERAGE(BJ2193:$BJ$10000))

Many thanks
 
How about this array formula

=AVERAGE(IF(A2193:$A$10000=A219,BJ2193:$BJ$10000))
 
Back
Top