Skip to main content
3 of 7
added 1 character in body
marikamitsos
  • 13.1k
  • 4
  • 34
  • 59

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

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.

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?