+ Reply to Thread
Results 1 to 3 of 3

How do i get cells in a calendar to highlight based off information from another sheet.

  1. #1
    Registered User
    Join Date
    06-10-2019
    Location
    California
    MS-Off Ver
    2010
    Posts
    2

    How do i get cells in a calendar to highlight based off information from another sheet.

    I have a Tracker Calendar i got from another thread that i was able to adjust to my organizations needs. But i would like to make it be able to Highlight the Names in the Calendar based off the information from the Main "Project_Tracker" sheet.

    So if the Order type is AT in "Project_Tracker" sheet the then it would find the Last name in the "Project_Tracker" sheet and highlight the name in the "Calendar" a certain color. And have it highlight different colors for different order types.

    If this is something that is possible please help me figure it out so i can implement in different spreadsheets.

    Thank you,
    RC Gonzalez
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,681

    Re: How do i get cells in a calendar to highlight based off information from another sheet

    That looks like one of my calendar files. It would be possible to do this, although it would be a bit awkward, as (potentially) each cell could be a different order type and so you would need to expand the table in blue on the Project tracker sheet to include the type for each day. That's easy enough - you could put this formula in cell O1:

    =IF(OR(K1="",K1="-"),"",INDEX(D:D,K1)&"")

    and copy it down. Incidentally, you need to copy those formulae in blue down further, as you are missing some of the data.

    However, conditional formatting cannot refer to conditions on other sheets, and so you will need to bring across the relevant data onto the Calendar sheet, so that you could then refer to it in the CF conditions, and that is where the awkwardness comes about. You could position it in column M onwards, for example, but that then messes the sheet up a bit. You could also think about including the order type in what you display on the calendar, in which case you should change the formula in cell L1 of the Project_tracker sheet to this:

    =IF(OR(K1="",K1="-"),"",INDEX(A:A,K1)&"-"&INDEX(D:D,K1)&"")

    and copy this down (no need for column O in this case), and then you could pick the order type up from that cell in the calendar. You show 6 order types on Sheet1, so each cell would need 6 different CF conditions.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-10-2019
    Location
    California
    MS-Off Ver
    2010
    Posts
    2
    Yeah I believe it was yours. It's pretty much perfect for what I needed.
    I will try this tomorrow at work. Thank you so much for the quick reply.


    Quote Originally Posted by Pete_UK View Post
    That looks like one of my calendar files. It would be possible to do this, although it would be a bit awkward, as (potentially) each cell could be a different order type and so you would need to expand the table in blue on the Project tracker sheet to include the type for each day. That's easy enough - you could put this formula in cell O1:

    =IF(OR(K1="",K1="-"),"",INDEX(D:D,K1)&"")

    and copy it down. Incidentally, you need to copy those formulae in blue down further, as you are missing some of the data.

    However, conditional formatting cannot refer to conditions on other sheets, and so you will need to bring across the relevant data onto the Calendar sheet, so that you could then refer to it in the CF conditions, and that is where the awkwardness comes about. You could position it in column M onwards, for example, but that then messes the sheet up a bit. You could also think about including the order type in what you display on the calendar, in which case you should change the formula in cell L1 of the Project_tracker sheet to this:

    =IF(OR(K1="",K1="-"),"",INDEX(A:A,K1)&"-"&INDEX(D:D,K1)&"")

    and copy this down (no need for column O in this case), and then you could pick the order type up from that cell in the calendar. You show 6 order types on Sheet1, so each cell would need 6 different CF conditions.

    Hope this helps.

    Pete

+ 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] How to Highlight Calendar Day (whole column) with Date from another Sheet?
    By joelmoor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-05-2019, 05:37 AM
  2. Highlight cells in calendar based on date ranges in another table
    By ejla in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-20-2017, 02:13 PM
  3. Highlight cells based on text contained in another Sheet
    By hummer123 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2016, 04:57 AM
  4. Highlight cells in the first column of each sheet based on a list
    By rafuk73 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-19-2015, 02:54 PM
  5. Change Cell color based on cells information appearing on another sheet!
    By bsaron in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-21-2014, 08:32 AM
  6. highlight cells in sheet 1 based on cells existing in sheet 2
    By free2rhyme2k in forum Excel General
    Replies: 1
    Last Post: 07-11-2013, 10:08 AM
  7. [SOLVED] Highlight dates in a calendar based on event category
    By lopez567 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-02-2012, 08:14 AM

Tags for this Thread

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