Conditional Formatting

jo.stanley

Board Regular
Joined
Apr 13, 2004
Messages
177
I am trying to change the colour of of a cell and need to use a formula to calculate the formatting

What I am trying to acheive is

A2 = 04/02/2011
A3 = 10/02/2011

If A3 is greater than today OR/AND A2 is greater than A3 it changes colour

Any ideas?
Thanks
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Thank s for your help.

Is there a way of doing this for an array

i.e row 2,3, 4 etc as the information I am formatting is different in each row.
 
Upvote 0
Assuming that you are always doing a similar comparison, then if you select rows 2 down and apply that CF formula it should work.
 
Upvote 0
Select say A1:A10. Format > Conditional Formatting, select Formula Is and enter

=OR(A3>TODAY(),A2>A3)

then set your format and OK your way out.
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,553
Members
452,928
Latest member
101blockchains

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