ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF Criteria (https://www.excelbanter.com/excel-worksheet-functions/140215-sumif-criteria.html)

Emile[_2_]

SUMIF Criteria
 
In the criteria section of the SumIF function I would like to look for text
in the range of cells than contains a word or words. I know how to look for
a single word, but do not how to look at a text string that contains certain
text

ie. In the range I may have cells that contains "chocolate fudge brownie"
and "chocolate fudge popiscle" and "chocolate fudge peanuts" plus many other
text entries

I want to sum only the cells based on the range of cells containing
"chocolate fudge"

Thanks in advance for your help



Peo Sjoblom

SUMIF Criteria
 
Use wildcards

=SUMIF(Range1,"*textstring*",Range2)


--
Regards,

Peo Sjoblom


"Emile" wrote in message
...
In the criteria section of the SumIF function I would like to look for
text in the range of cells than contains a word or words. I know how to
look for a single word, but do not how to look at a text string that
contains certain text

ie. In the range I may have cells that contains "chocolate fudge brownie"
and "chocolate fudge popiscle" and "chocolate fudge peanuts" plus many
other text entries

I want to sum only the cells based on the range of cells containing
"chocolate fudge"

Thanks in advance for your help





All times are GMT +1. The time now is 02:46 PM.

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