Conditional format row if time is present in one cell

SimonHughes

Well-known Member
Joined
Sep 16, 2009
Messages
507
Office Version
  1. 365
Platform
  1. Windows
Hello, I would like to conditionally format the row where a time is present in any one of the Monday to Sunday cells (C3 to I3) so with 08h30 in cell C3 below, the whole row would be formatted (grey fill). Using MS 365.

ABCDEFGHI
RiderCatMonTueWedThuFriSatSun
NAMEBEL08h30

Many thanks
Simon
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Let's say that your columns of entries for those days is C to I, and your first row of data entry is row 2.
Then, select all the rows you want to apply this to, starting with row 2, and enter this Conditional Formatting formula:
Excel Formula:
=COUNTA($C2:$I2)>0
and select your grey fill color.
 
Upvote 0
Solution
Let's say that your columns of entries for those days is C to I, and your first row of data entry is row 2.
Then, select all the rows you want to apply this to, starting with row 2, and enter this Conditional Formatting formula:
Excel Formula:
=COUNTA($C2:$I2)>0
and select your grey fill color.
That's it - works perfectly. Many thanks indeed Joe!
 
Upvote 0
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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