IF statement for 30, 60, 90 day overdue

CyberWrek

New Member
Joined
Jun 1, 2023
Messages
2
Office Version
  1. 2016
Platform
  1. MacOS
Hi everyone,

I've been trying like mad to wrap my head around creating a 30, 60, 90 day overdue statement for a week. Unlike most threads I've visited, where the intent is to simply show if something is overdue, I would like to add a feature whereby, when a date is added to a column to show the task is complete, the item will no longer show as overdue. I imagine it's possible, I'm just lost. Would love your insights! Thanks!
 

Attachments

  • Screen Shot 2023-06-01 at 2.08.42 PM.png
    Screen Shot 2023-06-01 at 2.08.42 PM.png
    8.9 KB · Views: 61

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Please try this:
=IF(TODAY()-B2>90,"Over 90 Days",IF(TODAY()-B2>60,"Over 60 Days",IF(TODAY()-B2>30,"Over 30 Days",TODAY()-B2)&" Days"))
in cell D2 if your data begins on row 2 and Days Open is in column D
 
Upvote 0
=IF(TODAY()-B2>90,"Over 90 Days",IF(TODAY()-B2>60,"Over 60 Days",IF(TODAY()-B2>30,"Over 30 Days",TODAY()-B2)&" Days"))
Hi Jeffrey. Thanks for your help. Unfortunately, the formula doesn't do anything when data is entered into the Date Complete. I tried modifying what you posted, but still can't get it to work. Each one shows "Over 90 Days" for something that is well under or has a completed date.

=IF(TODAY()-E11>=90,"Over 90 Days",IF(TODAY()-E11>=60,"Over 60 Days",IF(TODAY()-E11>=30,"Over 30 Days",IF(TODAY()-E11<30,"Under 30 Days",IF(E11-O11>=-1,"","")))))

In this formula, E11 is the submitted date and O11 is the completed date.
 
Upvote 0
Make sure column E has actual dates and not text: Today() - E11 (zero) will always show over 90 days. I tested this om my end and was able to get varying returns
 
Upvote 0
Welcome to the MrExcel board!

Is this the sort of thing you are after?

23 06 03.xlsm
EOP
10RequestedCompletedDays Open
1129-Jan-23Over 90 days
1214-Feb-2303-Jun-23 
1302-Mar-23Over 90 days
1418-Mar-2315-Apr-23 
1503-Apr-23Over 60 days
1619-Apr-23Over 30 days
1705-May-2306-May-23 
1821-May-23Under 30 days
Days Open
Cell Formulas
RangeFormula
P11:P18P11=IF(O11="",LOOKUP(TODAY()-E11,{0,30,60,90},{"Under 30","Over 30","Over 60","Over 90"})&" days","")
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

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