Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9788

Google Sheet conditional formatting, highlight cell based off of 1 hr time difference from current time

$
0
0

I have a google sheet that I use daily for my job that lists arrival times. I am having trouble setting the conditional formatting to highlight a cell based of how close the arrival time is to the current time of the day. I need the cell to highlight when it is 1 hour or closer from the arrival time to the current time.Example:

  • 15:00 arrival - Current time 09:38 this will NOT need to behighlighted
  • 15:00 arrival - Current time 14:38 this WILL need to be
    highlighted
  • 15:00 arrival - Current time 13:59 this will NOT need to behighlighted

=S4<NOW()+1/24 is the only formula I have tried using

I have also added a clock to a cell that refreshes every minute, and I have tried using this a reference to pull the current time from, but I am not sure if that would make any difference.


Viewing all articles
Browse latest Browse all 9788


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>