Formula Inconsistent

Roadking

Board Regular
Joined
Feb 15, 2014
Messages
78
Windows 7 Professional
Excel 2013

Good afternoon,

Trying to understand why my formula works on certain words and not others. My target worksheet, DB_Activity Col - $D$2:$D$1000 consists of 36 “Expense Descriptions” and Col - $E$2:$E$1000 consist of the cost associated each Description. The following formula works fine with the below list with the exception of those with an **.
=SUMIF(DB_Activity!$D$2:$D$1000,"Other",DB_Activity!$E$2:$E$1000)

** Accounting Service
** Advertising
Auto Lease Insurance
Auto Lease Payment
Auto Maintenance
Bank Fees
Bank Supplies
Cell Phone
Computer Hardware
Computer Software
Corporate Fees
Credit Cards
Deposit
Entertainment
Fuel
Gifts
Internet/High Speed
Laundry/Dry Cleaning
Legal
** Licensing
Lodging
Loan
Office Equipment
Other
Parking
Personal Expenses
** Programming
Seminar's / Training
Service Contracts
Supplies
Taxes
Tolls
Travel
Unexpected Expenses
Web-Design
Web-Service

Any help greatly appreciated
John
 
Thank you Aladin, both formulas seem to work. However, I'm still baffled why my formula worked fine for some and not for others.

Since SumIfs is faster than an array-processing formula with SumProduct, you might want to try:

=SUMIFS(DB_Activity!$E$2:$E$1000,DB_Activity!$D$2:$D$1000,"*Advertising*)

if there is no danger of counfounding Advertising with look-alike values.

Of course, cleaning up the data from stray spaces is the best option.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,216,100
Messages
6,128,825
Members
449,470
Latest member
Subhash Chand

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top