SUMIF function

  • Thread starter Thread starter Dominique Feteau
  • Start date Start date
D

Dominique Feteau

My first column starts off like this

IL-Chicago
IL-Chicago
IL-Springfield
NY-New York
NY-Queens
NY

Second column goes
20
30
40
45
70
150

How can i set up the "criteria" part of the "sumif" function to pick up
anything that has "IL" in it and not be specific by saying "IL-Chicago",
"IL-Springfield".

niq
 
Dominique Feteau said:
My first column starts off like this

IL-Chicago
IL-Chicago
IL-Springfield
NY-New York
NY-Queens
NY

Second column goes
20
30
40
45
70
150

How can i set up the "criteria" part of the "sumif" function to pick up
anything that has "IL" in it and not be specific by saying "IL-Chicago",
"IL-Springfield".

niq

Use a wildcard, like this:
=SUMIF(A1:A100,"IL*",B1:B100)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help with SUMIF & AND function 2
=sumif function 1
SUMIF function 3
Sum If function 3
Sumif across a table 1
"sumif" With Multiple Criteria! 3
Sumif 2
SUMIF Function 3

Back
Top