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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
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,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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