Condirional Fomatting Using Dates in a cell

freckles81

Board Regular
Joined
Apr 7, 2009
Messages
55
Hi

can someone please help me out, I am trying to create a formula that will have the row turn orange when the data in column E has exceeded 9 weeks, red when its exceeded 11 weeks but I am at a major loss here (been doing a huge sheet for hours now and the simplest thing has stopped me in my tracks.)
I have posted this against a similar thread but I was hoping to increase my chances of a reply by starting a new thread

I tried :

=IF(AND((E2-TODAY())>63, (E2-TODAY())<70),TRUE,FALSE)
that should go orange
=IF((E2-TODAY())>69,TRUE,FALSE)
that should go red

but it doesn't work, I want it to look at the data in that cell and if the date you are currently at has exceeded 11 weeks it changes.

Please help a very frustrated young lady as I am about to cry!!

regards,
Freckles81
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
In conditinal Formatting:

try this formula,
=AND((E2-TODAY())>63, (E2-TODAY())<70) ' This should turn orange
=(E2-TODAY())>69 ' This should turn red
 
Upvote 0
Hello to you both,

fab it worked, the formula Villy gave me was spot on and i changed it to =(TODAY()-E2)>69 as Andrew suggested.

You have put a stop to a lot of frustration for me today

regards,
Freckles81
 
Upvote 0

Forum statistics

Threads
1,224,579
Messages
6,179,656
Members
452,934
Latest member
mm1t1

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