Hi,
I have a column which contains totals. I want to use SUMIF and add columns which have the word 'Total' but do not also contain the word 'Revenue'. Simple data layout is as follows;
Col A Col B
Revenue 1 50 Row 1
Revenue 2 175
Total Revenue 225
Expenses
Salary Category
Salary 10
Hourly 40
Overtime 20
Salary Total 70
Benefits Category
Health 100
Dental 10
Vision 10
Bene Total 120 Row 17
Total Expenses 415 = SUMIF(A1:A17,"*Total*",B1:B17)
What I want is something like,
SUMIF(A1:A17,"Total*" & <> "*Revenue*",B1:B17)
Give me all amounts in column B where column A contains 'Total', but doesn't contain 'Revenue'
Hope that makes sense!
Thanks,
Tim
Tim Rutherford
I have a column which contains totals. I want to use SUMIF and add columns which have the word 'Total' but do not also contain the word 'Revenue'. Simple data layout is as follows;
Col A Col B
Revenue 1 50 Row 1
Revenue 2 175
Total Revenue 225
Expenses
Salary Category
Salary 10
Hourly 40
Overtime 20
Salary Total 70
Benefits Category
Health 100
Dental 10
Vision 10
Bene Total 120 Row 17
Total Expenses 415 = SUMIF(A1:A17,"*Total*",B1:B17)
What I want is something like,
SUMIF(A1:A17,"Total*" & <> "*Revenue*",B1:B17)
Give me all amounts in column B where column A contains 'Total', but doesn't contain 'Revenue'
Hope that makes sense!
Thanks,
Tim
Tim Rutherford