Hi,
I'm sure this will be easy for someone, but it has me going bold!
I'm trying to format a cell based on a calculation of days from today + a date in a cell, plus the text in another cell. There's an "or" in that the cell needs to be highlighted based on;
The text cell not stating "Rarely" and the date being over 360 days old
OR
The text cell being equal to "Rarely" and the date being over 720 days old
I've tried:
=IF((E4-TODAY())<-360,B4<>"Rarely")=OR((E4-TODAY())<-720,B4="Rarely")
And
=IF(E4-TODAY()<-360,B4<>"Rarely",IF(E4-TODAY()<-720,B4="Rarely"))
But they don't work completely. Any help much appreciated.
Thanks!
Last edited by Marlowe Nots; 03-05-2010 at 08:28 AM.
Try maybe:
=OR(AND(E4<TODAY()-360,B4<>"Rarely"),AND(E4<TODAY()-720,B4="Rarely"))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Superb! Thank you very much. The only issue I have now is when the date cell (e4) is blank, Excel calculates the date from 1900. Any way of getting it to ignore blanks?
Thanks again!
Try
=OR(AND(E4<>"",E4<TODAY()-360,B4<>"Rarely"),AND(E4<>"",E4<TODAY()-720,B4="Rarely"))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Excellent! All works perfectly.
Thanks again
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks