non-contigous range ref

B

Bob

Hello Group!

How do you reference multiple non-contigous ranges in an
IF function. I tried nesting an IF for each range but that
didn't work. I want to average the values in these ranges.
There may be zero values but I want them excluded. I do
have a solution using SUM/COUNTIF but I would like to know
how to use the AVERAGE(IF) method.

AVERAGE IF A1:A10 >0, B11:B20 >0, C21:C30 >0

I also tried AVERAGE(IF(AND))

Thanks for your help!
Bob P.
 
B

Bob

Leo - Thank you! I was pretty close in my attempt. I put
all the closing ')' at the end of the formula.

Bob P.
 

Ask a Question

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.

Ask a Question

Top