+ Reply to Thread
Results 1 to 5 of 5

Highlight time in a weekly booking schedule

  1. #1
    Registered User
    Join Date
    03-29-2022
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    2

    Question Highlight time in a weekly booking schedule

    Hi,

    I've been trying to make a booking schedule for our group. We book our time slots 30 min at a time and it works fine like this, but I think it would be really cool if the file could highlight (in a certain color) the whole row for the current time. I figured this can be done using conditional formatting, but I don't have the knowledge to write the formula properly. Does anyone of you know how to solve this?
    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.83 (24031120))
    Posts
    8,729

    Re: Highlight time in a weekly booking schedule

    try
    =AND(MOD(NOW(),1)>$A4, MOD(NOW(),1)<=$A5)

    see column U - just to show the formula in use - not needed , just a visual add

    NOT if the spreadsheet is left open , it will NOT change until excel effectively re-calculates F9 is carried out, i think just selecting a different cell may work - i will see in half an hour

    Seems to change , i opened up another spreadsheet , and it changed to 12:00 at 12:00 - will see what happens at 12:30

    to update live , you will need VBA to do that


    for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
    Conditional Formatting

    Highlight applicable range >>
    A4:S28 - Change, reduce or extend the rows to meet your data range of rows

    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:
    =AND(MOD(NOW(),1)>$A4, MOD(NOW(),1)<=$A5)

    Format [Number, Font, Border, Fill]
    choose the format you would like to apply when the condition is true
    OK >> OK
    Attached Files Attached Files
    Last edited by etaf; 03-29-2022 at 07:00 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    09-03-2016
    Location
    Catania, Italy
    MS-Off Ver
    Excel 2019
    Posts
    164

    Re: Highlight time in a weekly booking schedule

    Hello
    Try with VBA code
    Please Login or Register  to view this content.
    Hello,
    Mario
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-29-2022
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    2

    Re: Highlight time in a weekly booking schedule

    Hi etaf,

    I managed to get your formula to work in Excel 2016 (YAY!), but it didn't translate to the online version of Excel (Teams), as the highlighting never appeared. Is that what you meant by "update live"?
    Last edited by Excel Snejk; 03-29-2022 at 07:57 AM.

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,729

    Re: Highlight time in a weekly booking schedule

    but it didn't translate to the online version of Excel (Teams), as the highlighting never appeared. Is that what you meant by "update live"?
    possibly - i have not used the online/teams so not sure

    I notice the conditional formatting excel does seem to update automatically now - I would have not expected that without doing something on excel , that used to be the case years ago on older version, maybe things have changed

+ 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. Collecting Data from a weekly schedule and displaying it on a daily schedule
    By russfromtx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2022, 11:02 PM
  2. Auto Create Daily Break Schedule from Weekly Work schedule
    By colema62 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2021, 04:31 PM
  3. [SOLVED] Building Excel Schedule that totals weekly time worked
    By jmenzel30 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2018, 05:28 PM
  4. How to set up a booking schedule in Excel
    By Savak in forum Excel General
    Replies: 6
    Last Post: 09-20-2016, 05:24 PM
  5. booking time issues if booking removed
    By peter renton in forum Excel General
    Replies: 0
    Last Post: 04-11-2014, 03:50 AM
  6. Booking In Schedule
    By moseleya in forum Excel General
    Replies: 2
    Last Post: 03-13-2012, 12:56 PM
  7. Booking In Schedule
    By benbritton88 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2009, 05:48 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