IF Function with multiple outcomes???

hotdogs1999

Board Regular
Joined
Dec 11, 2018
Messages
57
Hello all,


new to this forum, and pretty new to excel, so here goes my first question.


i have one column that has dates in it for 'Follow Up' alerts. have made a formula so if the date is between a certain range then a message shows in the next cell.


my formula currently is =IF((AND(J24=(TODAY()+1),J24<(TODAY()+3))),"UPDATE PENDING","")


this is only doing 1 part of what i need though.


what i'm after is a formula that gives the following:
- if between 1&3 days from now - display "UPDATE PENDING" - which i have done in the above formula
- if today - display "UPDATE TODAY"
- if <today (past) - "OVERDUE"


i can then conditionally format them to change colour depending on what the message is.


would much appreciate some help on this :)


thanks in advance
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
how about
=IF(J24< TODAY(),"overdue",IF(J24=TODAY(),"update today",IF(J24< TODAY()+3,"update pending","")))
 
Upvote 0
that works great. thanks.

however it is displaying "OVERDUE" on blank cells that don't have a value. can this be fixed?
 
Upvote 0
How about
=IF(J24="","",IF(J24< TODAY(),"overdue",IF(J24=TODAY(),"update today",IF(J24< TODAY()+3,"update pending",""))))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0
sorry to be annoying.

just went to conditional format them to change colour and won't work now!!

was setting it up to change colour when it had the certain phrases.

any idea why this wouldn't be working? any suggestions for fixing it?
 
Upvote 0
Do you mean that the formula is not working, or the CF doesn't work?
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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