Simple SUMIF Formula Needed

teamexcel777

New Member
Joined
Feb 27, 2017
Messages
11
I need 2 SUMIFS formulas

I have 2 worksheets; SALES & STATS

on STATS H28 is where the formula is needed.

I need the formula to SUM S6:S1005 IF both criteria in SALES I6:I1005 = "CL" and SALES E6:E1005 = "B"

Same formula needed for Y17:Y28 with the exception of E6:E1005 = "S"
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
=SUMIFS(SALES!S6:S1005,SALES!I6:I1005,"CL",SALES!E6:E1005,"B")

=SUMIFS(SALES!Y6:Y1005,SALES!I6:I1005,"CL",SALES!E6:E1005,"S")

I assumed on the second one that you meant the sum range to be Y6:Y1005. If you really did mean Y17:Y28, then you can't have a SUMIFS where the ranges are different sizes. If that's what you want, then describe the situation more fully and we'll see if there's another option.
 
Upvote 0
Like this?

I need the formula to SUM S6:S1005 IF both criteria in SALES I6:I1005 = "CL" and SALES E6:E1005 = "B"


=SUMIFS($
S$6:$S$1005,$I$6:$I$1005,"CL",$E$6:$E$1005,"B")
 
Upvote 0

Forum statistics

Threads
1,223,715
Messages
6,174,064
Members
452,542
Latest member
Bricklin

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