ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple if statements in a sumif function (https://www.excelbanter.com/excel-worksheet-functions/118969-multiple-if-statements-sumif-function.html)

TPDigg

Multiple if statements in a sumif function
 
I would like to create a sumif statement that uses two criteria...so sumif
a=b and c=d then sum the values in the range. Any ideas?

thanks

Bob Phillips

Multiple if statements in a sumif function
 
=SUMPRODUCT(--(rng1=value1),--(rng2="value2"),rng3)


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"TPDigg" wrote in message
...
I would like to create a sumif statement that uses two criteria...so sumif
a=b and c=d then sum the values in the range. Any ideas?

thanks




Teethless mama

Multiple if statements in a sumif function
 
=SUMPRODUCT(--(A1:A100="b"),--(C1:C100="d"),E1:E100)


"TPDigg" wrote:

I would like to create a sumif statement that uses two criteria...so sumif
a=b and c=d then sum the values in the range. Any ideas?

thanks


TPDigg

Multiple if statements in a sumif function
 
Worked great!! Thanks

"Teethless mama" wrote:

=SUMPRODUCT(--(A1:A100="b"),--(C1:C100="d"),E1:E100)


"TPDigg" wrote:

I would like to create a sumif statement that uses two criteria...so sumif
a=b and c=d then sum the values in the range. Any ideas?

thanks


TPDigg

Multiple if statements in a sumif function
 
Worked great!!!thank you for the help

"Bob Phillips" wrote:

=SUMPRODUCT(--(rng1=value1),--(rng2="value2"),rng3)


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"TPDigg" wrote in message
...
I would like to create a sumif statement that uses two criteria...so sumif
a=b and c=d then sum the values in the range. Any ideas?

thanks






All times are GMT +1. The time now is 01:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com