SUMIF function

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
 
P

Paul

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
VLOOKUP or SUMIF for Multiple Criteria 2
=sumif function 1
Sumif across a table 2
SUMIF function 3
SUMIF Function 3
Sum If function 3
SUMIF with OFFSET 5

Top