C
Curtis
How do I calculate the averages of numbers in 2 sets of ranges... excluding
zero vaules?
Thanks
zero vaules?
Thanks
Ragdyer said:You have *uneven* range sizes!
You could try this *non-array* formula if you *don't* have negative values:
=SUM(B9:B17,B24:B55)/(COUNTIF(B9:B17,">0")+COUNTIF(B24:B55,">0"))
If you *do* have negatives, try this *non-array* formula :
=SUM(B9:B17,B24:B55)/SUM(COUNTIF(B9:B17,{">0","<0"})+COUNTIF(B24:B55,{">0","
<0"}))