G
Guest
How do I calculate the averages of numbers in 2 sets of ranges... excluding
zero vaules?
Thanks
zero vaules?
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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"}))
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.