sumif - summing more than one column based on criteria

Zandra

New Member
Joined
Dec 18, 2015
Messages
7
I am trying to sum Budget balances for 3 months if the Account Ref meets specific criteria. I can sum one column, but don't know how to add data from the three.

Eg If column A (Account Ref) is greater or equal to 4000 (Nom 1) and smaller or equal to 4008 (Nom 2), sum C,D,E.


ABCDE
ACCOUNT_REFNAMEBUDGET_MTH1BUDGET_MTH2BUDGET_MTH3
1 4000Sales North10050150
2 4001Sales South100160200
3 4007Consults000
4 5000Materials Purchased000
5 5001Materials Imported000
Answer I am looking for:
ABCD
DescNom 1Nom 2Total
1 Sales40004008760

<colgroup><col><col><col><col span="3"></colgroup><tbody>
</tbody>


I hope someone can help. Many Thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Try

=SUMPRODUCT((A2:A6>=4000)*(A2:A6<=4008)*C2:E6)
 
Last edited:
Upvote 0
Hi,

With your criteria in Cells H2 & I2, use:


Excel 2010
ABCDEFGHIJ
1ACCOUNT_REFNAMEBUDGET_MTH1BUDGET_MTH2BUDGET_MTH3DescNom 1Nom 2Total
24000Sales North10050150Sales40004008760
34001Sales South100160200
44007Consults000
55000Materials Purchased000
65001Materials Imported000
Sheet1
Cell Formulas
RangeFormula
J2=SUMPRODUCT(--(A2:A6>=H2)*(A2:A6<=I2)*(C2:E6))
 
Upvote 0

Forum statistics

Threads
1,215,237
Messages
6,123,800
Members
449,127
Latest member
Cyko

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