+ Reply to Thread
Results 1 to 2 of 2

Time-Based Conditional Formatting With Offset

  1. #1
    Registered User
    Join Date
    06-20-2016
    Location
    Hutchinson, KS
    MS-Off Ver
    2013
    Posts
    1

    Time-Based Conditional Formatting With Offset

    Hello,
    I’m needing to conditionally format a cell to highlight for a segment of time. Using the code attached I created a macro that displays a clock on the sheet. Using the clock and conditional formatting I was able to get cells to highlight for a period of time. That was yesterday. Today I again used the clock reading and conditional formatting >>> new rule >>> use a formula… >>> = TIME (xx,xx,xx)<(Clock Cell)< TIME(yy,yy,yy) but today it is not working for some reason and I’m wondering if you can help me out. Thanks !
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Time-Based Conditional Formatting With Offset

    = and(TIME (xx,xx,xx)<(Clock Cell),(Clock Cell)< TIME(yy,yy,yy))
    and
    with your code i've got date and time

+ 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. conditional formatting based on time difference
    By arindamsenaxa in forum Excel General
    Replies: 4
    Last Post: 11-28-2014, 10:58 AM
  2. Conditional Formatting - Based on Time
    By haroon284 in forum Excel General
    Replies: 6
    Last Post: 09-08-2014, 04:47 AM
  3. Replies: 5
    Last Post: 11-27-2013, 06:04 PM
  4. InteriorColorIndex = Offset (0,1), based on conditional formatting
    By FallingDown in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-26-2012, 03:20 AM
  5. [Solved] Conditional Formatting based on date and time
    By HackerJL in forum Excel General
    Replies: 5
    Last Post: 06-08-2011, 06:58 PM
  6. Conditional Formatting Based on Time Window
    By sdoremus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2008, 04:48 PM
  7. Conditional formatting based on time
    By sharkey in forum Excel General
    Replies: 2
    Last Post: 12-24-2007, 02:13 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