ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Subject: Summing one column where criteria in two other (https://www.excelbanter.com/excel-worksheet-functions/66416-subject-summing-one-column-where-criteria-two-other.html)

Rob

Subject: Summing one column where criteria in two other
 
What if I want to qualify it more with where one column looks for heather and
the other looks for b or eb. Can I use a wildcard * in sum product

Bob Phillips

Subject: Summing one column where criteria in two other
 
No need for wildcards

=SUMPRODUCT(--(A2:A20="heather"),--(ISNUMBER(MATCH(B2:B20,{"b";"eb"},0))))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Rob" wrote in message
...
What if I want to qualify it more with where one column looks for heather

and
the other looks for b or eb. Can I use a wildcard * in sum product





All times are GMT +1. The time now is 02:22 AM.

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