another conditional format issue

RDOREMUS

New Member
Joined
Mar 25, 2011
Messages
27
hello all,

i have a conditional format question about a simple spreadsheet.

what i have is 4 columns of expiring dates.

C D E I

1-jan-11 2-feb-12 3-mar-12 x


well what im having a problem with is that. . C:E is conditionally formatted off of a seperate column A, which is working the way i need it to. what i am looking for is for is a formula for when i have an X in column (I) that it makes C:E go to no color and if the X is taken away it goes back to its original conditional formatting based off of column A. Will i have to write a macro or is there a simpler way, because i have been trying all different types of formulas and have had no success at all. Thank you for your response.
 
That will highlight dates from april 2nd to april 15th if done today, is that what you want?
 
Upvote 0

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
i want it to be like lets say the expiration date is April 30 2011 and when today hits apr 15 2011 it to change yellow all the way up to april 30th.
 
Upvote 0
Personal preference is to use median to find a 'between' value

=AND(TODAY()=MEDIAN(TODAY(),C1,C1-15),$I1="x")
 
Upvote 0
jason,

these are my CF formulas

red =IF(C1-TODAY()<0,1,0)=1

green =IF(C1-TODAY()>15,1,0)=1

yellow =(IF(AND(C1-TODAY()>0,C1-TODAY()<=15),1,0)=1

and for some reason when i test the dates out when the date gets into the parameters for yellow it goes blank instead of yellow
 
Upvote 0
I just created a list of dates, and what you have appears to work correctly, are you applying the condition to the correct range?

Dates yesterday or before show red, today has no fill, 2nd to 16th april show yellow, 17th april onwards show green.
 
Upvote 0
what formulas are you putting in for green and red, maybe its just my formulas cause when i put yours in two of the 3 cells will go clear and one will stay red, im kinda confused at this point to whats going wrong
 
Upvote 0
I used the formula from your earlier post

red =IF(C1-TODAY()<0,1,0)=1

green =IF(C1-TODAY()>15,1,0)=1

yellow =(IF(AND(C1-TODAY()>0,C1-TODAY()<=15),1,0)=1

What range do you have the conditional format applied to?
 
Upvote 0
ok i fixed it, it was def an error on my part. . so when i try to integrate your formula to make it to where i put an X in I it makes C:E clear it gives me an error message.
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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