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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
=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,216,084
Messages
6,128,726
Members
449,465
Latest member
TAKLAM

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