+ Reply to Thread
Results 1 to 4 of 4

Formula or Conditional Format to update when within 60 mins / 30 mins or 15 mins of a time

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Formula or Conditional Format to update when within 60 mins / 30 mins or 15 mins of a time

    Hi,

    Can anyone help me with the following?

    I have a workbook that will detail shift finish times and I'm hoping to create a formula or conditional format that can reference against a cell with the current time and update when the shift finish time is within -60mins/ -30mins and -15mins.

    The current time cell is running from a macro that updates the current time every minute

    Thank you

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Formula or Conditional Format to update when within 60 mins / 30 mins or 15 mins of a

    Typical:
    =Cell shift time - cell with current time < 60

    add formulas for 30 & 15 and replace the 60
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    05-16-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Formula or Conditional Format to update when within 60 mins / 30 mins or 15 mins of a

    Hi and thanks for the reply

    The time cells are in 00:00:00 format so will a formula with <15 work or should it be in a similar format

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Formula or Conditional Format to update when within 60 mins / 30 mins or 15 mins of a

    Whatever formula you use, keep in mind that if you are referencing time, the cell will not automatically update on it's own, there will need to be some change in the workbook (or F9-calc)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Excel Chart Update every 2.22 mins
    By click_link in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2013, 03:16 PM
  2. Replies: 3
    Last Post: 05-22-2012, 03:26 PM
  3. Replies: 0
    Last Post: 04-25-2011, 05:18 PM
  4. Time Converter : Mins/Secs to Hours/Mins
    By jamesgsi1983 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2009, 09:02 AM
  5. Replies: 1
    Last Post: 07-07-2006, 01:00 AM
  6. Formula Help - Time Difference in Days, Hours Mins & Seconds
    By Shashi Bhosale in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2006, 05:10 PM
  7. Replies: 8
    Last Post: 01-07-2006, 03:35 PM
  8. How to convert numeric value to mins and addimg mins to Hrs.
    By ramana in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-28-2005, 06:05 AM

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