Percent Complete Between Two Dates - When Not Started How To Show Zero Percent

Consult123

Banned user
Joined
Dec 30, 2023
Messages
22
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hello,

I have formula that automatically calculates the percentage of completion on a project between two dates (the start date and end date). The formula I chose to use is: =MIN((DATEDIF(start date column, TODAY(),"d")+1)/(DATEDIF(start date column, end date column, "d")+1),100%). However, when the task has not started or is in the future, the formula breaks and says #NUM!. How do I make that cell say 0%?

1703948201893.png


Likewise, what are the best conditional formatting formulas for column F?
-On Track (Trigger- Based on current date, the task will complete on time by due date)
-Complete (Trigger- Column K at 100%)
-At Risk (Trigger- Based on current date, task will not complete on time by due date)
-Off Track (Trigger- Based on current date, task will not complete on time by due date)
-In Progress (Trigger- Column K >1%)
-Not Started (Trigger- Column K at 0%)
-Cancelled (Trigger- Columns D and E not populated with date)

@Joe4
 

Attachments

  • 1703948091748.png
    1703948091748.png
    45.2 KB · Views: 26

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try:

Excel Formula:
=IFERROR(MIN((DATEDIF(start date column, TODAY(),"d")+1)/(DATEDIF(start date column, end date column, "d")+1),100%), 0)
 
Upvote 0
Solution
Try:

Excel Formula:
=IFERROR(MIN((DATEDIF(start date column, TODAY(),"d")+1)/(DATEDIF(start date column, end date column, "d")+1),100%), 0)
This worked! Thanks so much. Are you able to assist with the conditional formatting formulas?
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top