Resource Management - Formula for various different schedules

Jez Akali
Jez Akali ✭✭
edited 07/05/23 inResource Management

Hi all,

CC:@Genevieve P.

I'm using smartsheet for resource management and the sheet links to our smartsheet resource tool.

In RM smartsheet, we have different resources on different schedules e.g:

  • Some work 7 hours a day
  • Some work part time (4 hours a day)
  • Some work 4 days a week at 8 hours and 7 hours (Fridays off)

We have been using a set formula to determine the allocation % of reach resource which is incorrect as it doesn't take into account of the different scenarios and people have been complaining that the planned hours that RM smartsheet is suggesting is wrong, as they should be.

=Hours@row / (Duration@row * 8). - This assumes everyone is full time and working 8 hours a day.

The sheet below is what I use to push the resources through to RM smartsheet. We're trying to figure the best way to set each project up so it takes into account of the different above scenarios, and that the allocation will be accurate, which means RM smartsheets will suggest the current planned hours

Does anybody have any suggestions please?

Smartsheet

image.png

Example of planned hours in RM smartsheet.

image.png


Thanks!

Jez

Answers

  • Mark Ryan
    Mark Ryan Overachievers

    Hi@Jez Akali,

    I have a slightly scenario working. We have different resources globally who have different contracted work hours in a day. I have a separate sheet that is derived from our HR team that tells me for each resource in the system what their contracted hours per day is.

    Then in my main sheet I do a lookup against the Assigned To column, that then populates into a hidden field so that the work hours per day is then shown for that employee. The % Allocation is then calculated with the following formula that calculates based on the duration of the task, and the planned effort the task is due to consume.

    =IF(OR(ISBLANK([Resource Type]@row), Duration@row = 0), "", IF(NOT(ISBLANK([Resource Type]@row)), [Planned Work (h)]@row / (Duration@row * [Work hours per day]@row), ""))

    This than calculates an accurate % Allocation for a resource, based on the number of hours a resource works in a day, so Resource Management calculates the same number.

    Hopefully I've managed to explain myself there, but let me know if you want any further clarification.


    Thanks,

    Mark

  • Hi Mark,

    Thank you for reaching out!

    Is it possible to attach some screenshots please? Appreciate the sensitivity of the data, test data will be helpful.

    Do you have any instances where some of your resources only work Monday to Thursday?

    Thanks!

    Jez

  • Mark Ryan
    Mark Ryan Overachievers

    Hi@Jez Akali,

    I'll pull together some screenshots to try and explain it better. In the meantime, I forgot to mention in Resource Management, the default work day is set to 8 hours, but for employee's that don't work the default I edit the user profile and use the Availability section to specify the hours that person works:

    Resource_Management_by_Smartsheet.png

    Using the same configuration, I do have one employee that works a 4 day week, so in the settings above I leave Friday set to 0. This is more for when the resource reports their time, that we then don't expect a value to be reported on a Friday.

    I'll try and get some screenshots tomorrow,

    Thanks,

    Mark

  • Mark Ryan
    Mark Ryan Overachievers

    Hi@Jez Akali,

    Here is the technical explanation

    I have a static sheet that contains the basic HR information. For the purpose of the screenshots, I have filtered the sheet and hidden rows, but the important fields used in this workflow are shown below

    _10__CS_Team_HR_Setup_-_Smartsheet_com.png

    In my project planning sheet, I have a column that basically does a lookup of the Assigned To column, to work out what a working day consists of, which is then used to calculate the % Allocation based on the planned hours and the Duration

    _10__Internal_Training_-_Smartsheet_com.png

    The formula that does this calculation is:

    =INDEX({CS Team HR Setup | Contract hours per day}, MATCH([Assigned To]@row, {CS Team HR Setup | User}, 0))

    The % Allocation column is then calculated as follows:

    =IF(ISBLANK([Assigned To]@row), "", [Planned Work (hours)]@row / (Duration@row * [Work hours per day]@row))

    LikeI I mentioned above, in Resource Management, I then specify for each user their availability (if it's different from the standard 8 hours Monday to Friday), so for me the setup is as follows:

    image.png

    当内容同步数据资源的人agement, the hours in Resource Management now match the planned hours that were specified in the project plan

    Resource_Management_by_Smartsheet.png

    Hopefully that all makes sense.

    Thanks,

    Mark

  • Thank you@Mark Ryanthat makes perfect sense.

    Those that work 4 days a week, and have Friday off seem to be throwing my project hours off in RM smartsheet.

    In my Smartsheet for example:

    I have assigned a task to a user that has Friday's off, and in RM Smartsheet, their setting is set to reflect that.

    When I push it through to RM smartsheet, the system doesn't allocate for example 1.25 hours between the 8 days Mon - Thursday. Instead it allocated 8 hours, 1 hour per day Mon-Thurs, have you noticed this? and how have you got around it? As the scheduled hours will be wrong with 8 and not 10.

    image.png


    image.png


    Thanks!

    Jez

  • Mark Ryan
    Mark Ryan Overachievers

    Hi@Jez Akali,

    That's one of the gotcha's with this, as you can't specify non-working days for individual resources. It would be great if tasks duration automatically adjusted if they are scheduled on a non-working day (not just for resources that only work a 4 day week, but also things like PTO and National Holidays), but alas not.

    We are just strict with the planning, so that we split the tasks if they span a "non-standard" non-working day.

    Thanks,

    Mark

  • Ah right, that's not ideal for us as each phase can be for every couple of months. We will stick to using RM Smartsheet for this one, I suppose if I really wanted to I could get a formula that works out the duration minus the Friday's between those dates.


    Thank you for your help@Mark Ryan, much appreciated!

@Cash<\/a> <\/p>

Create a field that checks if both the created date is more then 3 days ago and the status is \"Not Started\". Then have an automation run every morning that is filtered to this field being checked.<\/p>

Example formula:<\/p>

=IF(AND(Status@row=\"Not Started\",(TODAY()-[Created Date]@row)>3),1,0)<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":355,"name":"Resource Management","url":"https:\/\/community.smartsheet.com\/categories\/resource-management","allowedDiscussionTypes":["discussion","question"]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":108074,"type":"question","name":"Stop people from tracking to a project when an hours or fee budget is exhausted","excerpt":"Hi Community! Does anyone know if there is a way to set up a project in Resource Management so when the time or fee budget is exhausted, people can no longer track time to that project? The only lock setting I am able to see if one to lock time entries to the project once added (or after 14 days). Not sure if I am just…","snippet":"Hi Community! Does anyone know if there is a way to set up a project in Resource Management so when the time or fee budget is exhausted, people can no longer track time to that…","categoryID":355,"dateInserted":"2023-07-25T23:15:36+00:00","dateUpdated":null,"dateLastComment":"2023-07-27T23:41:37+00:00","insertUserID":163801,"insertUser":{"userID":163801,"name":"beverlyjosie","title":"Governance and Operations Coordinator","url":"https:\/\/community.smartsheet.com\/profile\/beverlyjosie","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-01T18:14:14+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":8888,"lastUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-08-26T17:06:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":128,"score":null,"hot":3380831233,"url":"https:\/\/community.smartsheet.com\/discussion\/108074\/stop-people-from-tracking-to-a-project-when-an-hours-or-fee-budget-is-exhausted","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108074\/stop-people-from-tracking-to-a-project-when-an-hours-or-fee-budget-is-exhausted","format":"Rich","tagIDs":[468],"lastPost":{"discussionID":108074,"commentID":387700,"name":"Re: Stop people from tracking to a project when an hours or fee budget is exhausted","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/387700#Comment_387700","dateInserted":"2023-07-27T23:41:37+00:00","insertUserID":8888,"insertUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-08-26T17:06:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Resource Management","url":"https:\/\/community.smartsheet.com\/categories\/resource-management"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-26T16:36:54+00:00","dateAnswered":"2023-07-26T16:13:19+00:00","acceptedAnswers":[{"commentID":387210,"body":"

Hi @beverlyjosie<\/a> <\/p>

I hope you're well and safe!<\/p>

Unfortunately, as far as I know, it's not possible now, but it's an excellent idea!<\/p>

Please submit this as a Product Feedback or Idea <\/strong>(If it hasn't been added already)<\/em><\/strong> when you have a moment.<\/strong><\/a><\/p>

Did that work\/help? <\/p>

I hope that helps!<\/p>

Be safe, and have a fantastic week!<\/p>

Best,<\/p>

Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p>

Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up, Awesome, or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":355,"name":"Resource Management","url":"https:\/\/community.smartsheet.com\/categories\/resource-management","allowedDiscussionTypes":["discussion","question"]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":468,"urlcode":"resource-management","name":"Resource Management"}]},{"discussionID":100798,"type":"question","name":"Resource Management Synchronization - API","excerpt":"Hello, I was looking under my activity log and noticed the above for sheet view, but I'm not sure who that is and the purpose of it. Can someone please explain what they do, please? Thanks!","snippet":"Hello, I was looking under my activity log and noticed the above for sheet view, but I'm not sure who that is and the purpose of it. Can someone please explain what they do,…","categoryID":355,"dateInserted":"2023-02-07T17:11:48+00:00","dateUpdated":"2023-07-05T09:50:09+00:00","dateLastComment":"2023-03-03T11:08:52+00:00","insertUserID":155716,"insertUser":{"userID":155716,"name":"Nkeiruka. Aguocha","url":"https:\/\/community.smartsheet.com\/profile\/Nkeiruka.%20Aguocha","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-04-25T22:40:58+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":91566,"lastUserID":91566,"lastUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-08-25T20:36:29+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":321,"score":null,"hot":3353635240,"url":"https:\/\/community.smartsheet.com\/discussion\/100798\/resource-management-synchronization-api","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/100798\/resource-management-synchronization-api","format":"Rich","lastPost":{"discussionID":100798,"commentID":365400,"name":"Re: Resource Management Synchronization - API","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/365400#Comment_365400","dateInserted":"2023-03-03T11:08:52+00:00","insertUserID":91566,"insertUser":{"userID":91566,"name":"Genevieve P.","title":"Community Manager","url":"https:\/\/community.smartsheet.com\/profile\/Genevieve%20P.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/KHY4Y67W0VRX\/nF76D5N9MFB28.png","dateLastActive":"2023-08-25T20:36:29+00:00","banned":0,"punished":0,"private":false,"label":"Employee Admin"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Resource Management","url":"https:\/\/community.smartsheet.com\/categories\/resource-management"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-02-08T21:59:45+00:00","dateAnswered":"2023-02-08T20:37:32+00:00","acceptedAnswers":[{"commentID":361273,"body":"

Hi @Nkeiruka. Aguocha<\/a>, <\/p>

It sounds like the sheet you're working in is a Project Sheet that has Resource Management connected<\/a> to it, and you're using the Resource Management Panel<\/strong><\/a> in Smartsheet to sync your data. This integration will use the Resource Management API to connect the two systems. <\/p>

Cheers,<\/p>

Genevieve<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":355,"name":"Resource Management","url":"https:\/\/community.smartsheet.com\/categories\/resource-management","allowedDiscussionTypes":["discussion","question"]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]}],"initialPaging":{"nextURL":null,"prevURL":null,"currentPage":1,"total":3,"limit":3},"title":"Trending in Resource Management","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Resource Management