SUMIF and range

C

Compass Rose

Is it possible to have non-contiguous (I think that's the right word) ranges
in a SUMIF statement? If so, is this the correct syntax to define the range?
For example:

=SUMIF(A2:A14,A17:A25,">0",R2:R14,R17:R25)

TIA

David
 
P

Peo Sjoblom

Try


=SUM(SUMIF(INDIRECT({"A2:A14","A17:A25"}),">0",INDIRECT({"R2:R14","R17:R25"})))

--


Regards,


Peo Sjoblom
 

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