Sum If with two ranges

P

Portiapuss

Hi,

I have a SUMIF command relating to a specific range that works.
=SUMIF(E8:E906,V6,O8:O906)

I would like to add a second criteria so that the range is summed if in
addition to the first, (E8:E906 equalling V6) a second criteria is also met.

For example if V6 is met and also H8:H906="LOA" then the range O8:O906 is
summed, if not the value is zero.

I cannot get anything to work!

Thanks for any advice!
 
P

Per Jessen

Hi

You need a SumProduct formula:

=SUMPRODUCT(--(E8:E906=V6),--(H8:H906="LOA"),O8:O906)

Regards,
Per
 

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