Conditional formatting

1spicegirl

New Member
Joined
Jun 16, 2015
Messages
5
I need to have a row in a table change to different colors when one of the cells in that row has the date inserted. I did this years ago, but cannot remember how I did it. Anyone?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Well, this will work not only for dates but...

Conditional format on the cell you want to color, go to formula, type =if(cell you want to contain the date<>"",TRUE,FALSE), then format to whatever color you need.
Then apply this to as many cells as you need from conditional formatting menu.

Cheers,
Emil
 
Upvote 0
Well, this will work not only for dates but...

Conditional format on the cell you want to color, go to formula, type =if(cell you want to contain the date<>"",TRUE,FALSE), then format to whatever color you need.
Then apply this to as many cells as you need from conditional formatting menu.

Cheers,
Emil

Awesome!! Is there a way to apply this to the entire row without having to go into each individual cell to apply the format?
 
Upvote 0
Awesome!! Is there a way to apply this to the entire row without having to go into each individual cell to apply the format?
Just highlight all the cells that you want to apply it to, and write the formula as it pertains to the first cell in that range.
It should adjust the cell references for all the other cells automatically.
If you need to "freeze" a row or column reference in your formula, use absolute referencing (i.e. put a "$" in front of the column/row reference).
 
Upvote 0
Just highlight all the cells that you want to apply it to, and write the formula as it pertains to the first cell in that range.
It should adjust the cell references for all the other cells automatically.
If you need to "freeze" a row or column reference in your formula, use absolute referencing (i.e. put a "$" in front of the column/row reference).

You guys just made my Friday!! THANK YOU!!
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,656
Members
449,045
Latest member
Marcus05

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