Distribute Project hours over the given period

Abhay Gadiya

New Member
Joined
Jul 1, 2013
Messages
24
I have a sample data with Start Date, End date and Project hours. I need to distribute these to various months in manner similar to below:

Start DateEnd DateHoursJanFebMarAprMayJuneJulyAugSepOctNovDec
15-Apr-145-May-14806416
4-Mar-146-Jun-1415043484811
1-Jul-1430-Sep-14100353233

<tbody>
</tbody>

Since, i do not have permission to attach files, I can't upload the sample formula which I am using. It seems to be very lengthy.

Can someone help me build up this formula
 
Last edited:

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
This formula in D2, copied down and across, matches your results:

=MAX(0,NETWORKDAYS(MAX(D$1,$A2),MIN(EDATE(D$1,1)-1,$B2)))/NETWORKDAYS($A2,$B2)*$C2

Is this what you wanted?

Excel 2012
ABCDEFGHIJKLMNO
1Start DateEnd DateHours1/1/141/2/141/3/141/4/141/5/141/6/141/7/141/8/141/9/141/10/141/11/141/12/14
215-Apr-145-May-148000064160000000
34-Mar-146-Jun-141500043484811000000
41-Jul-1430-Sep-14100000000353233000

<tbody>
</tbody>
Sheet1
 
Upvote 0
Thanks seems to be working.

I made little change as follows for formula in D2

=MAX(0,NETWORKDAYS(MAX(D$1,$A2),MIN(EOMONTH(D$1,0),$B2)))/NETWORKDAYS($A2,$B2)*$C2
 
Upvote 0

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

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