ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sumif (https://www.excelbanter.com/excel-discussion-misc-queries/124967-sumif.html)

Harley

sumif
 
I need:

Sum Column C if Column A contains "XL" using Find, and Column B = "N". Can
you combine sumif and find?

thanks,

harley

Peo Sjoblom

sumif
 
=SUMPRODUCT(--(A2:A100="XL"),--(B2:B100="N"),C2:C100)

or if you really mean that XL is part of a string in the cell

=SUMPRODUCT(--(ISNUMBER(FIND("XL",A2:A100))),--(B2:B100="N"),C2:C100)

--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)



"Harley" wrote in message
...
I need:

Sum Column C if Column A contains "XL" using Find, and Column B = "N".
Can
you combine sumif and find?

thanks,

harley





All times are GMT +1. The time now is 10:03 AM.

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