Sumifs with multiple criteria

ellison

Active Member
Joined
Aug 1, 2012
Messages
343
Office Version
  1. 365
Platform
  1. Windows
Hi, try as I might, I can't seem to work out how to add extra criteria when I'm using the SUMIF function.

On the left is the raw data (which will sometimes contain blanks), on the right is the SUMIF function (& some blank cells where I'm hoping the SUMIFS for the multiple criteria may go! )

Header-1Header-2Header-3Header-4AmtSUMIF for 1 criteria in Header-2: #=SUMIF($B$2:$E$10,B2,$E$2:$E$10)SUMIF for 2 criteria in Header-2 and Header-3SUMIF for 3 criteria in Header-2 / Header-3 / Header-4
2Southalphablack100950
3Northecho5075
4East7575
5Northechored2575
6East75
7Northbetared75
8Westcharlieblack250250
9Southalphablack350950
10Southalphapurple500950




Huge thanks for taking a look!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try this

Book1
ABCDEFGHI
1Header-1Header-2Header-3Header-4AmtSUMIF for 1 criteria in Header-2: #=SUMIF($B$2:$E$10,B2,$E$2:$E$10)SUMIF for 2 criteria in Header-2 and Header-3SUMIF for 3 criteria in Header-2 / Header-3 / Header-4
22Southalphablack100950950450
33Northecho5075750
44East757500
55Northechored25757525
66East7500
77Northbetared7500
88Westcharlieblack250250250250
99Southalphablack350950950450
1010Southalphapurple500950950500
Sheet1
Cell Formulas
RangeFormula
G2:G10G2=SUMIFS($E$2:$E$10,$B$2:$B$10,B2)
H2:H10H2=SUMIFS($E$2:$E$10,$B$2:$B$10,B2,$C$2:$C$10,C2)
I2:I10I2=SUMIFS($E$2:$E$10,$B$2:$B$10,B2,$C$2:$C$10,C2,$D$2:$D$10,D2)
 
Upvote 0
Solution
That works beautifully, huge thanks !
Also gives me a chance to get my teeth into how that formula works - with a working example, phew
All the best
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,069
Members
449,092
Latest member
ipruravindra

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