SUMIF

V

V. Marley

How can we write sumif on multiple criteria.

For instance, I have a list in A2:E100.

I want the sum of range E2:E100 if values in cell C2:C100
equals "N" and values in cell D2:D100 equal value 3?

Once the above can work, I would like to parametrize the
formula; i.e. instead of the hard-coded values in the
formula (e.g. "N", 3, etc.) I would like to pick up the
values from cells F2, F3.
 
A

Arvi Laanemets

Hi

=SUMPRODUCT((C2:C100="N")*(D2:D100=3)*(E2:E100))
=SUMPRODUCT((C2:C100=F2)*(D2:D100=F3)*(E2:E100))


Arvi Laanemets
 

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