Sum IF MULTIPLE CRITERIA

davidhall80

Well-known Member
Joined
Jul 8, 2006
Messages
663
Sort of like the previous sumproduct question, but with addition.

Column A Has Zone 1 through Zone 9. Column B has "New", "Change", or "Old". Column C has hours worked. I would like to get total Hours Worked for "Zone 2" "New" assignments. If column A = Zone 2, and Column B = New, Than Sum Up Column C. Make sense??....Thanks in advance
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try

=Sumproduct(--(A1:A100="Zone 2"),--(B1:B100="New"),C1:C100)

adjust ranges to suit.
 
Upvote 0
The result of the first 2 arguments in the formula will be arrays of 1's and 0's depending on if the criteria are matched or not, each set of 1's and 0's are then multiplied by the corresponding number in column C.....so C gets multiplied by 1 or 0 (the end result either the value in C or a 0) and then all these products get summed to give the final result.
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,900
Members
449,194
Latest member
JayEggleton

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