SumProduct - based on more than one criteria

m17347047711116

New Member
Joined
Aug 28, 2002
Messages
7
O.k

Heres what i need to do
Sheet 1 Master Schedule
[Name][Department][D"Start Time"]

Sheet 2
[AA "StartBin"] [#of started at this time]

Works great using SumProduct Function but it counts all the people who started at a specified time.

"=SUMPRODUCT(($D$6:$D$12>=AA5)*($D$6:$D$12<AA6))"

D = my Start Time array
AA= my Start Time Bin

The problem is that i do not want to sumproduct for all start times only for start times that meet the Department criteria
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-08-30 11:59, m17347047711116 wrote:
O.k

Heres what i need to do
Sheet 1 Master Schedule
[Name][Department][D"Start Time"]

Sheet 2
[AA "StartBin"] [#of started at this time]

Works great using SumProduct Function but it counts all the people who started at a specified time.

"=SUMPRODUCT(($D$6:$D$12>=AA5)*($D$6:$D$12<AA6))"

D = my Start Time array
AA= my Start Time Bin

The problem is that i do not want to sumproduct for all start times only for start times that meet the Department criteria

Add the department condition to the formula:

=SUMPRODUCT(($D$6:$D$12>=AA5)*($D$6:$D$12<AA6)*(DepartmentRange=DepartmentCell))

where DepartmentCell houses a department of interest.
 

Forum statistics

Threads
1,144,288
Messages
5,723,514
Members
422,502
Latest member
barakgahtan

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
Top