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

Conditional formatting for cells that have date/time withing the last 24 hours

$
0
0

Ok so I have a Google sheet that has a col for "last updated" and each row represents a separate file. People manually paste in the time and date in that col, just like in the picture.

If the date and time IS NOT within the last 24 hours, then I want that cell to turn red. The "date is before" option only checks the date and not the time.

For this example, let's say the current time is 930am, so the cells that have a time BEFORE 9:30am yesterday should turn red. The cells that have a time AFTER 9:30am yesterday should remain unaffected.

This is what I want it to look like

This is what I want it to look like

How can I do this with Google Sheets conditional formatting?

Here is my Test sheet: https://docs.google.com/spreadsheets/d/1DRQYrxpE61e7VMEpbuiCO543cpZvcckVr0PKPnQcPw4/edit?usp=sharing


Viewing all articles
Browse latest Browse all 9788

Latest Images

Trending Articles



Latest Images

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