Improve my formula to show past due days

chrono2483

Board Regular
Joined
Aug 23, 2014
Messages
164
Office Version
  1. 2016
Hi everyone,

I tried to self-serve, and find the answer to this, but unable.

Current state: I use a formula, that compares current date with due date, to show me how many days remaining to complete a task.
Problem: Some tasks end up being past due, but the lowest it goes is 0 days
Desired State: I want to be able to show how many days (i.e. negative value) it is, still comparing current date with due date. Example: Today = May 27, 2020, Due Date = May 25, 2020, Days Remaining = -2
Bonus Desired State: Same as above, but stops calculating based off on a value in another cell. Example: If cell = Complete, formula locks in the Days Remaining for that day.

My current formula: =iferror(if(D25-today()<0,0,D25-TODAY()),"")


Any help or direction would be awesome.

Thank you!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
How about
=if(D25="","",D25-TODAY()

Not sure you can do the bonus without VBA, or iterative calculation.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,785
Messages
6,121,543
Members
449,038
Latest member
Guest1337

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