Conditional Formatting - Everyones Bane

KyleG

Well-known Member
Joined
Jun 12, 2004
Messages
629
Office Version
  1. 365
Platform
  1. Windows
I thought what i wanted would be simple but no matter how i do it i cant seem to get it to work.

I have a column (B) of times in the format [h:mm]. I want to hightlight non-normal hours.

Normal hours are 7:00 - 8:00 Monday to Friday. (Days listed in column A)
eg:
10:00 Monday - cell formatted.
No value Monday - cell formatted
No value Saturday - cell stays as normal
Any hours Saturday - cell formatted

thanks
 
Glad it worked fine for you.
Tought I just would throw in a note about the formula, to help you understand it. The part : $b4+$c4 , might seem a bit strange. It is the sum ot the two timevalues. So if no time is entered it will be 0, and if a time is entered in any of the cells it will be something else than 0. The conditional formula expects a true or false result, and converts 0 to false and any other value to true.
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,221,604
Messages
6,160,748
Members
451,670
Latest member
Peaches000

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