sumproduct and tim

jackdiamond

Board Regular
Joined
Oct 10, 2007
Messages
220
Hi,

I currently use this formula which tells me a % of how much work someone does to the rest of his shift.
=SUMPRODUCT(($P$6:$P$24)*($B$6:$B$24="KEVIN MENHAM"))/SUMPRODUCT(($P$6:$P$24)*($A$6:$A$24="A"))*100

If I had hours worked in column "W", Does anyone know how I could work this into the formula so it would give the correct % for hours worked?

For background info

Column P is entry total
Column B is the names of workers
Column a is which shift they work on

i hope this is not to vague

Thanks
Stu
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

jackdiamond

Board Regular
Joined
Oct 10, 2007
Messages
220
P is the total number of entries on paperwork
W is the amount of hours worked.

What we are trying to find out is for eg

Richard did 1000 entries and worked 200 hrs
John did 500 entries but only worked 100 hrs.

So what we are trying to get at is although Richard did 1000 entries, he has worked double the time of John.

Does this make sense?

So we are trying to get a calculation for entries made against time worked so it should show that they have both still done 50% work load each?

Does this help?
 

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
Hey Stu, not ignoring this -- trying to get my head around how you would want to report this... I guess saying they did 50% each is difficult to illustrate -- the only thing that is "even" really is the avg of entries per hour ? On that basis I guess in my own mind I'd be going down that route -- ie working out if a given staff member is working above or below the hourly average... but I guess you need to weight that for possible economies of scale in terms of time...

Could you put up a few scearios -- might help us get to grips with best approach.

Sorry I've not been more use...
 

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
Apologies for layout but was trying to make it easier to follow... I was thinking something like this (but again may not help you so apologies if not)

This would return (when formatted as %) the % (entries/hours) above/below a given shift average for a given person in that shift (obviously would be good to set Shift & Name to be cell references so the results can be adjusted quickly for different combinations)

=(
SUMPRODUCT(--($A$2:$A$20="A"),--($B$2:$B$20="Mr X"),--($P$2:$P$20))
/
SUMPRODUCT(--($A$2:$A$20="A"),--($B$2:$B$20="Mr X"),--($W$2:$W$20))
)
/
(
SUMIF($A$2:$A$20,"A",$P$2:$P$20)
/
SUMIF($A$2:$A$20,"A",$W$2:$W$20)
)
-1
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,122,548
Messages
5,596,791
Members
414,103
Latest member
imamalidadashzada

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