Difficult Average Function
You're welcome. Thanks for the feedback!
--
Biff
Microsoft Excel MVP
"Connie Martin" wrote in message
...
Thank you! The array formula works. Thank you so very much. I really
appreciate your help! Connie
"T. Valko" wrote:
Try one of these:
=SUMIF(A42:A5000,A9,J42:J5000)/COUNTIF(A42:A5000,A9)
Or, this array formula** :
=AVERAGE(IF(A42:A5000=A9,J42:J5000))
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)
--
Biff
Microsoft Excel MVP
"Connie Martin" wrote in message
...
I am stumped. How in the world do I write this formula?
In a cell, I want it to find the date in A9 in A42:A5000 and then
average
the numbers in J42:J5000 for that date. Hope this is clear. Many
thanks
in
advance.
Connie
|