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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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,196,250
Messages
6,014,240
Members
441,808
Latest member
xplainer

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