+ Reply to Thread
Results 1 to 10 of 10

Use index/match or vlookup to conditonal format table, based on criteria

  1. #1
    Registered User
    Join Date
    04-30-2015
    Location
    thessaloniki, greece
    MS-Off Ver
    ms office 2013
    Posts
    19

    Use index/match or vlookup to conditonal format table, based on criteria

    Hello,

    I would like to apply conditional formatting in the attached table, so as to see whether or not im inputting the codes (X1-X5) correctly.
    I want to apply the conditional formatting in the "DATA" sheet.
    I am inputting a code, for example 1001 and then i am filling in the X1,X2,X3,X4 and X5.

    In the "criteria" sheet, next to each code there is a letter for each X1-X5, which means:
    Y=Yes code is required
    N=Not required
    O=Optional

    So, i want to conditional format the table in the "DATA" sheet on X1-X5 columns, under these 3 criteria.

    Thanks in advance for reading this.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    What would your expected outcome look like?
    (you do know that CF can only change the format of a cell, not it's contents?)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-30-2015
    Location
    thessaloniki, greece
    MS-Off Ver
    ms office 2013
    Posts
    19

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    i want to use three colors on DATA Sheet based on the Y, N and O on the Criteria Sheet

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    Quote Originally Posted by wendor View Post
    i want to use three colors on DATA Sheet based on the Y, N and O on the Criteria Sheet
    OK, so can you show me what you want it to look like in your sample file please?

  5. #5
    Registered User
    Join Date
    04-30-2015
    Location
    thessaloniki, greece
    MS-Off Ver
    ms office 2013
    Posts
    19

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    Hello and thanks for your reply.
    Please find attached what i want to achieve with the conditional formmating.
    I want to use cond.format so as where in x1-x5 tables there is a Y=green color, N=red color, O=yellow color.
    All these colors to appear in DATA sheet, so as to have the information based on colors, whether or not i should put information on X1-X5 columns.

    Can this be done with conditional formatting?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-30-2015
    Location
    thessaloniki, greece
    MS-Off Ver
    ms office 2013
    Posts
    19

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    Any ideas?
    Can this be done with cond formatting?
    Any help would be greatly appreciated
    Last edited by wendor; 05-20-2016 at 02:47 PM.

  7. #7
    Registered User
    Join Date
    04-30-2015
    Location
    thessaloniki, greece
    MS-Off Ver
    ms office 2013
    Posts
    19

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    bump, any ideas about the formula and if this is possible?

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    Sorry for the delay, the thread got lost, so thanks for the bump

    This would be the basis of your CF rule...
    =INDEX(criteria!$B$2:$F$5,MATCH(data!$A2,criteria!$A$2:$A$5,0),MATCH(data!B$1,criteria!$B$1:$F$1,0))="Y"

    Then create a new rule for each of the other 2 rules, changing ="Y" as needed

  9. #9
    Registered User
    Join Date
    04-30-2015
    Location
    thessaloniki, greece
    MS-Off Ver
    ms office 2013
    Posts
    19

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    thanks a lot, works like a charm!

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Use index/match or vlookup to conditonal format table, based on criteria

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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] Index, Match, or VLoopup? Returning a table value based on criteria from two drop down's
    By jkwlvsky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2015, 06:40 PM
  2. Replies: 2
    Last Post: 12-18-2014, 09:52 AM
  3. Replies: 3
    Last Post: 05-19-2014, 02:01 PM
  4. [SOLVED] VLOOKUP or INDEX/MATCH when referencing a table to determine two criteria are being met
    By gunnerau in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2014, 07:01 AM
  5. Conditonal format using MATCH funtion for different times
    By khalil-UK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-11-2013, 01:33 AM
  6. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  7. Mulitple conditonal match / Vlookup
    By Madduck in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2005, 02:06 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