+ Reply to Thread
Results 1 to 4 of 4

Google Sheets: Cell changes color based on current time

  1. #1
    Registered User
    Join Date
    04-09-2020
    Location
    Laredo, Texas
    MS-Off Ver
    14.6.9
    Posts
    2

    Google Sheets: Cell changes color based on current time

    Hi my name is Tim,
    Thanks for the help in advance. So I have a row K where I put a future time. I would like for that cell to start off green and then go yellow when the current time is within 5 minutes of what was entered. Then go red when it is within 2 minutes or past that time. We use this document on google sheets so seeing the cell change color will let everyone who is using it know what to prioritize. I attached the sheet. Please help. Thanks!!!
    Attached Files Attached Files
    Last edited by AliGW; 04-10-2020 at 01:42 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    2016
    Posts
    544

    Re: Google Sheets: Cell changes color based on current time

    Hi Tim, try these conditional formulas:-

    Red:- =AND((K2-MOD(NOW(),1))*1440<2,K2<>"")
    Yellow:- =AND((K2-MOD(NOW(),1))*1440<5,K2<>"")
    Green:- =(K2-MOD(NOW(),1))*1440>=5

    They must appear in that order in the conditional list.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-09-2020
    Location
    Laredo, Texas
    MS-Off Ver
    14.6.9
    Posts
    2

    Re: Google Sheets: Cell changes color based on current time

    Thanks Beamernsw!!! It works!!! New question for the same formula. Why would it work in a regular excel document but not when I upload it to google sheets? We are trying to have multiple devices use the same excel spreadsheet and while in Google Sheets the cells don't change color...

  4. #4
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    2016
    Posts
    544

    Re: Google Sheets: Cell changes color based on current time

    ahh, I've never used Google Sheets I'm sorry to say. I'll have to defer that to one of the sites Guru's

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-19-2020, 11:57 AM
  2. [SOLVED] Sum total time based on color of cell
    By chriswrcg in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-05-2019, 03:06 PM
  3. Sum total time based on color of cell
    By chriswrcg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-05-2019, 01:05 PM
  4. Replies: 5
    Last Post: 04-08-2016, 08:30 AM
  5. Replies: 3
    Last Post: 07-28-2014, 09:56 AM
  6. Display current time based on cell changes.
    By shiva_reshs in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-19-2013, 12:16 AM
  7. [SOLVED] Conditional Formatting, current cell color follows to diff cell based on content
    By iallenwood in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2012, 04:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1