sumif with two different terms

F

FreddieP

Hi I want to sum column D if column a=x and colum b=y (both terms in columns
a & b must be fulfilled)

I nortmally use sumif but then i can only have one term, now i want two
different, what formula should I use then?
 
B

Bob Phillips

=SUMPRODUCT(--(A2:A200="x"),--(B2:B200="y"),D2:D200)

SUMPRODUCT works on explicit ranges, not whole columns, in all versions
prior to Excel 2007.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Similar Threads

Countif with two terms 3
SUMIF by Week. 8
sumproduct or sumif? 3
SUMIF using two ranges 3
sumif color cells with same month 1
SumIF Formula 6
Two search category & two search terms 4
SUMIF with NAME RANGE 1

Top