+ Reply to Thread
Results 1 to 7 of 7

Highlighting times on a schedule based off of input

  1. #1
    Registered User
    Join Date
    10-09-2018
    Location
    Canada
    MS-Off Ver
    16
    Posts
    4

    Highlighting times on a schedule based off of input

    Hello all. I'm trying to have cells on a schedule highlighted according to input from another sheet. I am trying to attempt two things:
    1. Highlight the time slots under the clients name according to their scheduled input and
    2. Highlight the times according to colour that corresponds to the location in which they are meeting

    Attached are photos to help clarify the situation.

    Screen Shot 2018-10-09 at 1.46.21 PM.png
    Screen Shot 2018-10-09 at 1.46.33 PM.png

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Highlighting times on a schedule based off of input

    I recommend uploading a small representative sample (Excel workbook not a picture) of your data along with the desired results (which you can enter manually) based on that data.

    To upload an Excel workbook, follow these steps:
    1) Click on "Go Advanced"
    2) Click on "Manage Attachments"
    3) Click on "Choose File"
    4) Choose your file and click on "Open"
    5) Click on "Upload"
    6) Click on "Close this window"

  3. #3
    Registered User
    Join Date
    10-09-2018
    Location
    Canada
    MS-Off Ver
    16
    Posts
    4

    Re: Highlighting times on a schedule based off of input

    I'm new to this forum. Did this work?

    I appreciate your timely response.
    Attached Files Attached Files

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Highlighting times on a schedule based off of input

    You have to create one rule per color.

    I will go over the first one with you.

    Select B4:F36 > Conditional Formatting > New Rule > Use a formula
    =COUNTIFS('Session Input'!$A$2:$A$1000,B$3,'Session Input'!$B$2:$B$1000,"<="&$A4,'Session Input'!$C$2:$C$1000,">="&$A4,'Session Input'!$D$2:$D$1000,"Activity Offer")
    Format: Fill Green > OK > OK

    Repeat this for the other rules.
    Last edited by 63falcondude; 10-09-2018 at 02:37 PM.

  5. #5
    Registered User
    Join Date
    10-09-2018
    Location
    Canada
    MS-Off Ver
    16
    Posts
    4

    Re: Highlighting times on a schedule based off of input

    Now, as much as I really do appreciate you helping me, could you explain to me what is going on in this formula? I like to learn what you did so I can break it down and apply it later.

    Thanks again.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Highlighting times on a schedule based off of input

    Sure, the formula counts the number of instances where ALL of the following are true for cell B4:

    'Session Input'!$A$2:$A$1000 = B$3
    'Session Input'!$B$2:$B$1000 ≤ $A4
    'Session Input'!$C$2:$C$1000 ≥ $A4
    'Session Input'!$D$2:$D$1000 = "Activity Offer"

    It then essentially drags the formula across and down for the entire range that you selected before applying the Conditional Formatting.

    Conditional Formatting sees 0 as FALSE and anything other than 0 as TRUE.
    It will apply formatting to all of the cells that return TRUE.

  7. #7
    Registered User
    Join Date
    10-09-2018
    Location
    Canada
    MS-Off Ver
    16
    Posts
    4

    Re: Highlighting times on a schedule based off of input

    I am coming to you with all my inquiries from here on out. Not only have you helped me resolve an issue, but I learned a new function. Thanks again.

+ 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. [SOLVED] Highlighting numbers that appear more than 3 times
    By Spotniq in forum Excel General
    Replies: 9
    Last Post: 01-15-2020, 03:52 AM
  2. Noob here- best approach to extract personal schedule based on an employee schedule sheet,
    By fortnight_skyrim in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-15-2018, 01:02 AM
  3. Highlighting value 3x times greater than average
    By Muz1993 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2016, 09:12 PM
  4. Replies: 0
    Last Post: 10-02-2016, 07:30 AM
  5. Rotating Schedule VBA for highlighting cells in named range
    By pdowg881 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2015, 05:03 PM
  6. Highlighting duplicates based on how many times they're duplicated
    By aking in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 08-19-2012, 08:41 AM
  7. [SOLVED] Create patient schedule based on master therapist schedule
    By PapaBear in forum Excel General
    Replies: 8
    Last Post: 10-12-2005, 12: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