SUMIF with text criteria not working

vrart1

New Member
Joined
May 2, 2015
Messages
7
Windows 7
Microsoft Office 2010

I have the following formula that is not working:
=SUMIF(LEDGER!H:H,BILLS,LEDGER!B:F)

The formula is being used in a sheet titled "BUDGET" to get information from another sheet within the same document titled "LEDGER". I want it to searched through the H column in order to find the text "BILLS" and then add the accompanying amount within columns B through F.

Anyone got any fixes?
 
Maybe

=SUMPRODUCT((LEDGER!H2:H100="BILLS")*LEDGER!B2:F100)

Note: For performance reasons avoid references to entire columns (such as H: H for example) in SUMPRODUCT.
I assumed that your data is in rows 2:100 - adjust to suit.

M.
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
What type of error? Are there only values in columns B to F or is there text mixed in?
 
Upvote 0
Maybe

=SUMPRODUCT((LEDGER!H2:H100="BILLS")*LEDGER!B2:F100)

Note: For performance reasons avoid references to entire columns (such as H: H for example) in SUMPRODUCT.
I assumed that your data is in rows 2:100 - adjust to suit.

M.

This formula worked just fine :D
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,581
Members
449,089
Latest member
Motoracer88

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