How to have Excel auto highlight a cell if it contains a cer

Joined
May 16, 2002
Messages
7
Howdy all -

I think I remember seeing something somewhere that you could tell Excel to highlight a cell if it contained a certain variable, however I don't remember where I saw it.

What I need is this:

Column C (total hours)= Column B (arrival time) minus Column A (departure time) - all times are in 24 hour format.

I would like the Cells in Column C to automatically become highlighted with a color (yellow) if the cell's contents are below 5:00.

If anyone can help me out, I would greatly appreciate it!!!

Dennis
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
On 2002-05-23 12:25, SCOPE Adult Day Care wrote:
Howdy all -

I think I remember seeing something somewhere that you could tell Excel to highlight a cell if it contained a certain variable, however I don't remember where I saw it.

What I need is this:

Column C (total hours)= Column B (arrival time) minus Column A (departure time) - all times are in 24 hour format.

I would like the Cells in Column C to automatically become highlighted with a color (yellow) if the cell's contents are below 5:00.

If anyone can help me out, I would greatly appreciate it!!!

Dennis

Select all of the relevant cells in C.
Activate Format|Conditional Formatting.
Select "less than" from the box next to the "Cell Value Is" box.
Activate Format.
Select yellow from the Patterns tab.
Give OK, OK.
 
Upvote 0

Forum statistics

Threads
1,213,549
Messages
6,114,264
Members
448,558
Latest member
aivin

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