calculating progress

TRACYJO

New Member
Joined
May 18, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Im working on something that will show progress of production. I want to show percentage complete between two dates. Im using =(DATEDIF(E10,TODAY(),"d")+1)/(DATEDIF(E10,F10,"d")+1) which works fine as long as that line is working within current dates. if its before that date I want it to read 0% but right now it shows #NUM! and after that date it should read 100% but will show 120 or more percent.. how can I fix this?
 

Attachments

  • Screenshot 2023-08-23 105320.png
    Screenshot 2023-08-23 105320.png
    7.1 KB · Views: 27

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
=IF(E10>TODAY(),0,MIN(1,(DATEDIF(E10,TODAY(),"d")+1)/(DATEDIF(E10,F10,"d")+1)))
 
Upvote 0

Forum statistics

Threads
1,216,069
Messages
6,128,603
Members
449,460
Latest member
jgharbawi

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