can anyone help with this

olive

New Member
Joined
Oct 9, 2002
Messages
24
HI hope this explains itself better than I did in the past.
Book1.xls
ABCDEFGHI
111-October-0228-Jun-02condition:dateinb1lessthan5monthsoftodaysdate=green
21-May-02condition:dateinb1=5to6monthspastoftodaysdate=yellow
322-Mar-02condition:dateinb1morethanor=6monthsoftodaysdate=red
4condition:ifnodatecellstayswhite
5
Sheet1
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Something like

Condition 1
Formula is =B1<Today()-180 Format Red
Condition 2
Formula is =B1<Today()-150 Format Yellow
Condition 3
Formula is =B1>=Today()-150 Format Green
This message was edited by lenze on 2002-10-11 16:57
 
Upvote 0
SO sorry that was almost exact. Just ran the whole formula any everything is good except that cells with no date appear red also. Need the ones with no date to stay white.
Can you help with this, too?
 
Upvote 0
Change the formula to

=AND(NOT(ISBLANK(B3)),B3<TODAY()-180)
This message was edited by lenze on 2002-10-11 17:56
 
Upvote 0
well either I am entering it wrong or that does not work. Turned the cell yellow not white. pPlus the format has gaps in it, was putting in different dates and some show as clear/white if within the gaps. How can I fill/get rid of the gaps. Sorry to be such a pain but am new to this kind of format.
 
Upvote 0
Thanks but did that except for the last bracket. Added that and still get yellow. Any other ideas?
 
Upvote 0
Hi Olive:

I don't see Lenze around -- If I have understood you correctly, try my following formulas for the three conditions:

1. =and(A1-B1>180,b1<>"") ...font color 'Red'
2. =and(A1-B1>150,b1<>"") ...font color 'Yellow'
3. =and(A1-B1<150,b1<>"") ...font color 'Green'

there may be some redundancy in my formulas -- but they do seem to work.

Please post back if it works for you ... otherwise explain a little further and let us take it from there.

Regards!

Yogi
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,213
Members
448,554
Latest member
Gleisner2

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