+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting - Based on 2 Array Values

  1. #1
    Registered User
    Join Date
    06-28-2007
    MS-Off Ver
    MS365 (Mac) Version 16.68 (22121100)
    Posts
    41

    Conditional Formatting - Based on 2 Array Values

    Trying to color the dates in schedule on left with 2 data points:

    1. Date matches list on right
    2. Depending on which code that date is in Column L, determines color

    I've solved for date formatting only, not the code color

    Colors should match List colors
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Conditional Formatting - Based on 2 Array Values

    Hi. Before we get going on this one...

    Is your forum profile showing the Excel PRODUCT that you need this request to work with?

    The best solutions often rely on knowing WHICH Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date. If you aren't sure, in Excel go to File/Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent Excel PRODUCTS are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the Version number in your profile (e.g. MS365 (PC) Version 2211). The version number is in the About Excel section further down the Account page.

    Cheers,

    Glenn.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Conditional Formatting - Based on 2 Array Values

    I didn't slavishly try to get the colour match correct. My colour palette may be different from yours. You can do the fine-tuning yourself!!


    I deleted the CF from the cells on the left. I used formulae like this one:

    =INDEX($L$2:$L$20,MATCH(B2,$O$2:$O$20,0))="TGF"

    and applied it to B2:H20 in all cases. See file.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-28-2007
    MS-Off Ver
    MS365 (Mac) Version 16.68 (22121100)
    Posts
    41

    Re: Conditional Formatting - Based on 2 Array Values

    Thank you very much Glenn! Works like a charm!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Conditional Formatting - Based on 2 Array Values

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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] conditional formatting based on a number of cells with the same value within an array
    By Seattlites in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-11-2020, 03:26 PM
  2. [SOLVED] Sum values based on mulitple conditional statements with array formula
    By bwill22 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-10-2018, 01:27 PM
  3. Conditional Formatting Text based on array values of adjacent array.
    By Quasar82 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2017, 09:54 AM
  4. [SOLVED] Sum by Conditional Formatting based on Array formula
    By ChrisBITGROUP in forum Excel General
    Replies: 4
    Last Post: 06-02-2014, 07:55 PM
  5. Replies: 5
    Last Post: 04-01-2012, 02:48 AM
  6. Macro that pulls values out of an array based on its formatting
    By fecurtis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-28-2008, 09:29 AM
  7. Conditional formatting based upon array
    By RocketMan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2006, 12:10 PM

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