Conditional Formatting Question

jcl408

Board Regular
Joined
Jun 3, 2009
Messages
87
I want to have a conditional formatting setup whereby if the date in H5 (and so on) is later than the date in G5, it is red, and if it is on or before that date it is green. Could anyone help me out with a formula or setup for this?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Try like this

Excel Workbook
GH
521/07/201120/07/2011
621/07/201123/07/2011
Sheet8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H51. / Formula is =H5<=G5Abc
H52. / Formula is =H5>G5Abc
 
Upvote 0
Try like this

Excel Workbook
GH
521/07/201120/07/2011
621/07/201123/07/2011
Sheet8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H51. / Formula is =H5<=G5Abc
H52. / Formula is =H5>G5Abc

Awesome! Thank you. is there any way to have it so if the cell is "N/A" it doesnt change color
 
Upvote 0
That shouldn't change the color

Excel Workbook
GH
521/07/201120/07/2011
621/07/201123/07/2011
722/07/2011#N/A
Sheet8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H51. / Formula is =H5<=G5Abc
H52. / Formula is =H5>G5Abc
 
Upvote 0
I had an IF(ISERROR()) in there changing what it said away from #N/A. Removed it and it doesnt change color anymore. Thanks again
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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