I want to make a calendar in a sheet.It must be constructed taking initial date from another sheet, according to another column(hours) that are to spread among the working days.
So for example this:
date hours
17/02/2012 8
20/02/2012 50
20/02/2012 37
13/03/2012 110
should become:
date hours
17/02/2012 8
20/02/2012 8
21/02/2012 8
22/02/2012 8
23/02/2012 8
24/02/2012 8
27/02/2012 8
28/02/2012 2
20/02/2012 8
21/02/2012 8
22/02/2012 8
23/02/2012 8
24/02/2012 3
13/03/2012 8
14/03/2012 8
15/03/2012 8
16/03/2012 8
19/03/2012 8
20/03/2012 8
21/03/2012 8
22/03/2012 8
23/03/2012 8
26/03/2012 8
27/03/2012 8
28/03/2012 8
29/03/2012 8
30/03/2012 6
The first day (17-Feb) is Friday and is filled by its next cell (8 hours). Next the macro has to take the second row, and starting from the 20-Feb(Monday), has to finish until the value (37 hours) is spread on next working days. In this way I have a workers ‘ Calendar for production. Someone can help me?
Thanks in advance
This generates the output you seek with your example data.