Conditional Format Time Between 2 Cells

rskip

New Member
Joined
Nov 26, 2009
Messages
44
Office Version
  1. 365
Platform
  1. Windows
I would like to format cells in a list of times that have "expired" from the current time. I am using the function =Now() to get the "current" time. The current time cell is formatted to "hh:mm".
I would like to condition format the list of Session times to turn red as the current time pass's a time in the list. Times in the list are also formatted hh:mm.

Help Please !
Thank you
1706761246750.png
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
U can use "Conditional Formatting"
Like this

Step = Select All Data "Session Time"

Home --> Conditional Formatting --> Highlight Cells Rules --> Less Than (Shortcut : Alt + H + L + H + L)

And select Cell "B2" "Current Time"

1706762308852.png
 
Upvote 0
Another option.
Select C2 downwards & use this formula in CF
Excel Formula:
=AND(C2<>"",MOD(C2,1)<MOD($B$2,1))
 
Upvote 0
Solution
Thanks Fuff, this is exactly what i was looking for, Cheers Mate, have a pint on me !
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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