# Calculate % complete with Date Range and Today's date

Hello community,

I need a formula to return % Complete based on a start - end date range and today's date.

So for example:

Date Range: 06/18/23 - 06/30/23

Today's date: 06/26/23

As there are 12days in this date range, and today's date is day 8 out of 12, the percentage complete would be 66.6%

Tags:

• ✭✭✭✭✭✭

=MAX(MIN((TODAY() - Start@row) / (Finish@row - Start@row), 1), 0)

This does the percentage:

(TODAY() - Start@row) / (Finish@row - Start@row)

This caps it at 100%:

MIN(..............., 1)

This keeps it from going negative for future tasks:

MAX(..............., 0)

• Follow up - this is my solution but maybe there is a single formula option?

Currently I have two helper columns

Days: =IFERROR(NETDAYS(Start@row, Finish@row), "")

Today - Start: =IF(Finish@row > TODAY(), TODAY() - Start@row)

% Complete: =IFERROR([Today - Start]@row / Days@row, "")

• ✭✭✭✭✭✭

Try this:

=MAX(MIN((TODAY() - Start@row) / (Finish@row - Start@row), 1), 0)

• That worked, thanks again Paul!

It also shows 100% complete when it is in the past which is great. What part of this formula makes it do that?

• ✭✭✭✭✭✭

=MAX(MIN((TODAY() - Start@row) / (Finish@row - Start@row), 1), 0)

This does the percentage:

(TODAY() - Start@row) / (Finish@row - Start@row)

This caps it at 100%:

MIN(..............., 1)

This keeps it from going negative for future tasks:

MAX(..............., 0)

• Thanks Paul, very helpful as always!

• ✭✭✭✭✭✭

Happy to help. 👍️

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!