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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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.
 
Upvote 0

Forum statistics

Threads
1,215,737
Messages
6,126,575
Members
449,318
Latest member
Son Raphon

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