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?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
You need to have quotes around a text string.

=SUMIF(LEDGER!H:H,"BILLS",LEDGER!B:F)
 
Upvote 0
Does this return a value?

=SUMPRODUCT(--(LEDGER!H:H="BILLS")*LEDGER!B:F)
 
Upvote 0
It is set to automatic.
Just looked at your formula. The sum range will be limited to col B.

From Excel Help:
The sum_range argument does not have to be the same size and shape as the range argument. The actual cells that are added are determined by using the upper leftmost cell in the sum_range argument as the beginning cell, and then including cells that correspond in size and shape to the range argument.

If you change a value in col B, does the formula cell change?
 
Upvote 0
Just looked at your formula. The sum range will be limited to col B.

From Excel Help:
The sum_range argument does not have to be the same size and shape as the range argument. The actual cells that are added are determined by using the upper leftmost cell in the sum_range argument as the beginning cell, and then including cells that correspond in size and shape to the range argument.

If you change a value in col B, does the formula cell change?

It did change. So what changes would I have to make to the formula in order for it to incorporate the rest of the columns I require?
 
Upvote 0
Did you try the formula I posted above? Post #7
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,977
Members
449,200
Latest member
Jamil ahmed

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