ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hours spread uniformally between two dates (https://www.excelbanter.com/excel-programming/284818-hours-spread-uniformally-between-two-dates.html)

Steve[_52_]

Hours spread uniformally between two dates
 
Hi,

Is there any functionality within excel where an amount of hours (col a )
can be spread uniformally between two dates (col b and c) with the results
tabled so i am able to create a load or capacity graph.

Thanks in advance for any assistance in any form.

Steve



Bill Manville

Hours spread uniformally between two dates
 
Steve wrote:
Is there any functionality within excel where an amount of hours (col a )
can be spread uniformally between two dates (col b and c) with the results
tabled so i am able to create a load or capacity graph.


You might have columns to the right from D to BZ, one per date, and you want
to fill in the number of hours for the job on this row on the date for this
column (assumed in row 1).

A formula like this (in D2 and copied to the remaining cells) should do it

=A2/(COUNTIF($D$1:$BZ$1,"="&B2)-COUNTIF($D$1:$BZ$1,""&C2))


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup


Steve[_52_]

Hours spread uniformally between two dates
 
Thanks for help Bill ....

"Bill Manville" wrote in message
...
Steve wrote:
Is there any functionality within excel where an amount of hours (col

a )
can be spread uniformally between two dates (col b and c) with the

results
tabled so i am able to create a load or capacity graph.


You might have columns to the right from D to BZ, one per date, and you

want
to fill in the number of hours for the job on this row on the date for

this
column (assumed in row 1).

A formula like this (in D2 and copied to the remaining cells) should do it

=A2/(COUNTIF($D$1:$BZ$1,"="&B2)-COUNTIF($D$1:$BZ$1,""&C2))


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup





All times are GMT +1. The time now is 06:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com