Working with Dates

Tomo

Board Regular
Joined
Dec 27, 2009
Messages
199
I am stuck i want to get a field to show ok if it is less then a year
reminder if it is more then a year but less then 13 months
overdue if it is over 13 months i have this formula but it is not right anyone help please

=IF(A2="Owner","OK",IF(A2="Not required","Not Required",IF(A2="Required","",IF(TODAY()-A2<305,"OK",IF(TODAY()-A2<335,"30 days",IF(TODAY()-A2<365,"60 Days","Overdue"))))))

where is it going wrong excel 2003 by the way

Cheers
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
What's the problem you're running into?

=IF(A2="Owner","OK",IF(A2="Not required","Not Required",IF(A2="Required","",IF(TODAY()-A2<305,"OK",IF(TODAY()-A2<335,"30 days",IF(TODAY()-A2<365,"60 Days","Overdue"))))))

This is saying that if today()-A2 is less than 305 days, it's okay. You may want to change that to 30, the next one to 60, etc...

Unless, it's really only 30 days late if it's 305 days from today.
 
Upvote 0
Want it to say "ok" if less then 365 days from today
Want it to say "reminder" if more then 365 but less then 395
Want it to say "overdue" if greater then 395


does this make sence
 
Upvote 0
Makes sense.

=IF(A2="Owner","OK",IF(A2="Not required","Not Required",IF(A2="Required","",IF(TODAY()-A2<365,"OK",IF(TODAY()-A2<395,"30 days",IF(TODAY()-A2<425,"60 Days","Overdue"))))))
 
Upvote 0
Nearly there it is confusing upto 60 days from to day should say "60 days"
anything greater should say "overdue"

it needs to be way over the 60 days before the "overdue" kicks in
 
Upvote 0
=IF(A2="Owner","OK",IF(A2="Not required","Not Required",IF(A2="Required","",IF(TODAY()-A2<365,"OK",IF(TODAY()-A2<395,"30 days",IF(TODAY()-A2<500,"60 Days","Overdue"))))))

You can just change the bolded to whatever number of days you'd like before overdue kicks in.
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,786
Members
452,942
Latest member
VijayNewtoExcel

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