Example:
If P25:P50 is greater than 0, then average P25:P5, else 0
Try one of these...Example:
If P25:P50 is greater than 0, then average P25:P5, else 0
One of:
=AVERAGEIF(P25:P50,">0")
=SUMIF(P25:P50,">0")/INDEX(FREQUENCY(P25:P50,0),2)
Control+shift+enter, not just enter:
=AVERAGE(IF(ISNUMBER(P25:P50),IF(P25:P50>0,P25:P50)))
Thank you! I used the last suggestion and it works just fine.
One of:
=AVERAGEIF(P25:P50,">0")
=SUMIF(P25:P50,">0")/INDEX(FREQUENCY(P25:P50,0),2)
Control+shift+enter, not just enter:
=AVERAGE(IF(ISNUMBER(P25:P50),IF(P25:P50>0,P25:P50)))
I also used your THIRD Formula and it worked perfectly! Thanks!!
Can you please explain why Ctrl + Shift + Enter? Also how to implement it to a series of rows. I have to go to each of the cells & do Ctrl + Shift + Enter. Any solution to this?