Unable to add up duration for metrics calculation

I am trying to use cross-sheet formula to add up the planned duration for certain workers, for performance analysis purpose.
After setting up the Actual Start and End date, we copied it to the Planned duration, Plan start, Plan end - as a baseline reference.
When I am trying to calculate the Planned days by employee, it just come up as zero. May I know what could have gone wrong? Should I first convert the 5d to just numerical 5? How can I do that? the planned duration could be 1, 2 or 3 digits.
Vivien Chong
Modern Work Management Consultant @ 57Network Consultancy Sdn Bhd
Connect with us: 57network.com
Best Answer
-
You can only have one "true" duration column where "5d" can be counted as the number 5. Any other column with "5d" in it will be treated as a text value and as such cannot be summed.
My suggestion would be to use a helper column (can be hidden to keep the sheet clean) where you strip out the "d" and convert it to a numerical value that can then be summed.
=VALUE(SUBSTITUTE([Planned Duration]@row, "d", ""))
Answers
-
You can only have one "true" duration column where "5d" can be counted as the number 5. Any other column with "5d" in it will be treated as a text value and as such cannot be summed.
My suggestion would be to use a helper column (can be hidden to keep the sheet clean) where you strip out the "d" and convert it to a numerical value that can then be summed.
=VALUE(SUBSTITUTE([Planned Duration]@row, "d", ""))
-
Thanks @Paul Newcome . I was trying to figure out the "VALUE" formula on my own, but couldn't seem to get the right results. Your formula works. Appreciate your help!
Vivien Chong
Modern Work Management Consultant @ 57Network Consultancy Sdn Bhd
Connect with us: 57network.com
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!