# Using wildcard but omitting keyword

#### Mstg007

##### Active Member
In column A I have List of names and column G I have areas.

Column A
Pavement Concrete
Pavement Concrete Sidewalk
Pavement Concrete Pervious
Building
Standard

Code:
``=(SUMIF(\$A\$12:\$A\$209,"PAVEMENT *",\$G\$12:\$G\$209))+(SUMIF(\$A\$12:\$A\$209,"*BUILDING*",\$G\$12:\$G\$209))+(SUMIF(\$A\$12:\$A\$209,"PROPOSED POND ",\$G\$12:\$G\$209))+(SUMIF(\$A\$12:\$A\$209,"Standard ",\$G\$12:\$G\$209)``

I would like to add all the areas except for pervious. Having a hard time figuring it out.

Thank you for the help!

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

#### NMa91

##### New Member
Code:
``=SUM(G12:G209)-SUMIF(A12:A209,"*Pervious",G12:G209)``

#### Mstg007

##### Active Member
Code:
``=SUM(G12:G209)-SUMIF(A12:A209,"*Pervious",G12:G209)``

Thank you! brain was not working lol.

Replies
16
Views
195
Replies
8
Views
138
Replies
1
Views
95
Replies
8
Views
81
Replies
4
Views
110

1,109,334
Messages
5,528,091
Members
409,802
Latest member
joeino

### This Week's Hot Topics

• Change military grades into rank
Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
• VBA COUNTIF SOLUTION
Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
• INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...