# How to calculate % completion automatically from the current start date vs. end date

Options

Hi - All I have seen utilized is manually completing the % Completion - does anyone try to calculate this off the percent of start date - current date - end date?

Thanks!

• ✭✭✭✭✭✭
Options

You would use something like this:

=(TODAY() - [Start Date]@row) / ([End Date]@row - [Start Date]@row)

• ✭✭✭✭✭✭
Options

You would use something like this:

=(TODAY() - [Start Date]@row) / ([End Date]@row - [Start Date]@row)

• Options

Thank you - this helped!

• ✭✭✭✭✭✭
Options

Happy to help. 👍️

• Options

@Paul Newcome When I try this formula, for example a 8.1.22 start date and 8.22.22 end date, I utilize the formula above =(TODAY() - [Start Date]@row) / ([End Date]@row - [Start Date]@row) - if I input formula today 8.23.22 example it gives me over 100%, is it possible to stop at 100%?

• ✭✭✭✭✭✭
Options

@Angel ALK You would wrap it in a MIN function like so:

=MIN((TODAY() - [Start Date]@row) / ([End Date]@row - [Start Date]@row), 1)

• Options

That worked @Paul Newcome thank you for the help. Do you mind sharing what the difference in formula does when adding the =MIN and the 1 at the end does?

Used to AzureDev Ops, appreciate the help

• ✭✭✭✭✭✭
Options

The MIN function will output the lowest of a group of numbers.

The "group" of numbers is your % Complete calculation and 1.

Smartsheet formulas read percentages as a part of 1 so 1 = 100%, 0.50 = 50%, so on and so forth.

As long as your calculation is less than 100%, it is the "min" and will be output.

Once it exceeds 100%, 100% is now the "min" and will be output.

• ✭✭
Options

Great forumla it worked but does anyone know how to avoid the negative integers here, because the rollup will become -662%

• ✭✭✭✭✭✭
Options

@amott Wrap the whole thing in a MAX and have it compare to zero.

=MAX(0, MIN(..................))

• ✭✭
Options

Thanks Paul : This is where we finally ended up

=MIN(MAX((TODAY() - [2023 Start Date]@row) / ([2023 End Date]@row - [2023 Start Date]@row), 0), 1)