+ Reply to Thread
Results 1 to 2 of 2

Color changing cells with Time

  1. #1
    Registered User
    Join Date
    12-25-2012
    Location
    texas
    MS-Off Ver
    Excel 2010
    Posts
    12

    Color changing cells with Time

    I have attached an example. I am trying to make the time cell change color to red after 60 minutes have passed. please let me know if there is a way to do this. Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,789

    Re: Color changing cells with Time

    so F31 shows the time of last check
    what cell are you wanting to changing colour
    if you use conditional formatting and change the format of the time cell to time

    in the conditional format you use
    =IF(TIME(HOUR(NOW()),MINUTE(NOW()),0) >TIME(HOUR(G32)+1,MINUTE(G32),0),TRUE,FALSE)
    and then copy the format down

    i have shown how this works in the attached sheet

    you need to format the time checked as Time - I use HH:MM
    and enter as time
    09:17 for example for 9.17am

    i have shown the calculation in columns I,J,K so you can see what happens
    as the spreadsheet is using now() - the system time
    just change the entries in column G to see what happens
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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