Calculating % of completion based on start & End dates
I'm looking for a formula that calculates the % of completion based on start and end dates
Answers
-
A simple way to do it would be like below. It just compares today to the start, and the total duration of the task, and divides. The MIN/MAX are there so that if the task hasn't started yet, instead of a negative you get 0%, and if the task end is in the past, it doesn't go past 100%.
=MAX(0, MIN(1, NETDAYS(Start@row, TODAY()) / NETDAYS(Start@row, End@row)))
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
-
@Jason Tarpinian thank you! would I use networkdays to calculate business days?
-
@TPALJA Yup, use NETWORKDAYS to omit weekends and holidays that you've set up!
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
-
@Jason Tarpinian I want to add a step and leave the column blank if the start and end date are blank, is that possible?
-
Yes add an If(And statement to it.
=If(And(Start@row="",End@row=""),"",
MAX(0, MIN(1, NETDAYS(Start@row, TODAY()) / NETDAYS(Start@row, End@row))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!