+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting if in last 15 mins

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    927

    Conditional formatting if in last 15 mins

    Hello

    Looking to highlight the cells that contains time in last 15 mins
    how can I do it with conditional formatting?
    cells= A:A

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,849

    Re: Conditional formatting if in last 15 mins

    NOW() is volatile so will be recalculated any time any calculation is done. However, it will not update if the file just sits there. You will have to hit F9 to refresh it if no other calculations are happening.

    This assumes that the cell has only time, not date. Can you be more specific about your data?
    Applies to $A:$A
    Formula: copy to clipboard
    =A1>(MOD(NOW(),1)-TIMEVALUE("00:15:00"))


    If the cells have date + time
    Formula: copy to clipboard
    =A1>(NOW()-TIMEVALUE("00:15:00"))
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Converting decimal mins to mins and seconds
    By crakkers in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-13-2020, 09:50 AM
  2. Replies: 3
    Last Post: 01-22-2016, 01:44 AM
  3. Replies: 7
    Last Post: 05-28-2012, 12:18 PM
  4. Replies: 3
    Last Post: 05-22-2012, 03:26 PM
  5. 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
  6. Replies: 8
    Last Post: 01-07-2006, 03:35 PM
  7. 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