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
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!