How do I create manpower chart based on a schedule?
I am trying to create a manpower (resource) chart based on a construction schedule.
Best Answer
-
My suggestion would be to start with a separate sheet. We would put in two Sheet Summary fields to start. Both of them will be date fields. One will pull in the earliest date from the Project Plan and the other would pull in the last date.
Start Date:
=MIN(COLLECT({PP Start Date Column}, {PP Start Date Column}, @cell <> ""))
End Date:
=MAX(COLLECT({PP Start Date Column}, {PP Start Date Column}, @cell <> ""))
Then we would create a text/number column in this second sheet (called "Number" in this example) with the numbers starting at zero on row one and increasing as you go down the column until you have as many weeks as you think you will need (plus a buffer).
0
1
2
3
4
5
etc.
Next we need a date type column (called "Week Start" in this example) using the following column formula:
=IF((Date@row + (1 - WEEKDAY([Start Date]#))) + (7 * Number@row) <= [End Date]#, (Date@row + (1 - WEEKDAY([Start Date]#))) + (7 * Number@row))
Finally for the Manpower Needed column we use this:
=IF([Week Start]@row <> "", SUMIFS({PP Manpower Column}, {PP Start Date Column}, @cell<= [Week Start]@row + 6, {PP End Date Column}, @cell>= [Week Start]@row))
Now to create the chart we would first create a report that references this sheet we just built out and have it filtered to show only rows where [Week Start] is not blank. Include the appropriate columns and then use this to create the chart on the dashboard.
Answers
-
Would it be daily, weekly, monthly, or some other increment?
-
Weekly.
-
My suggestion would be to start with a separate sheet. We would put in two Sheet Summary fields to start. Both of them will be date fields. One will pull in the earliest date from the Project Plan and the other would pull in the last date.
Start Date:
=MIN(COLLECT({PP Start Date Column}, {PP Start Date Column}, @cell <> ""))
End Date:
=MAX(COLLECT({PP Start Date Column}, {PP Start Date Column}, @cell <> ""))
Then we would create a text/number column in this second sheet (called "Number" in this example) with the numbers starting at zero on row one and increasing as you go down the column until you have as many weeks as you think you will need (plus a buffer).
0
1
2
3
4
5
etc.
Next we need a date type column (called "Week Start" in this example) using the following column formula:
=IF((Date@row + (1 - WEEKDAY([Start Date]#))) + (7 * Number@row) <= [End Date]#, (Date@row + (1 - WEEKDAY([Start Date]#))) + (7 * Number@row))
Finally for the Manpower Needed column we use this:
=IF([Week Start]@row <> "", SUMIFS({PP Manpower Column}, {PP Start Date Column}, @cell<= [Week Start]@row + 6, {PP End Date Column}, @cell>= [Week Start]@row))
Now to create the chart we would first create a report that references this sheet we just built out and have it filtered to show only rows where [Week Start] is not blank. Include the appropriate columns and then use this to create the chart on the dashboard.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives