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.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!