![]() |
sumif with two different terms
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? |
sumif with two different terms
=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) "FreddieP" wrote in message ... 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? |
All times are GMT +1. The time now is 09:00 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com