Allocate block of hours over duration equally and finish with the remainder.

afuente858

New Member
Joined
May 27, 2015
Messages
3
I need help with a formula that will take lets say 220 hours and divide it across a duration of weeks with 33.5 working hours per week.

I want the formula to divide the block of hours (220 in "C18") across the duration (9 weeks in "F5"). Then Divide block of hours (100 in "C19"

SUM the range H18:P18 and determine if the SUM of the range is less than the block hours then divide again for the next cell untill the range is >= the block of hours then enter "0"

Duration in Weeks
9
7

Weeks | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |10|11|12|13|14|15|16|
220hrs |25|25 |25|25|25 |25|25 |25|20|0 |0 | 0 | 0 | 0 | 0| 0|
100hrs | 0 | 0 | 0 | 0| 0 |15|15 |15|15|15|15|10| 0 | 0 | 0| 0|
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,213,484
Messages
6,113,924
Members
448,533
Latest member
thietbibeboiwasaco

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