Consulting

Results 1 to 6 of 6

Thread: Solved: Vlookup with an Index & Match formula

  1. #1
    VBAX Mentor
    Joined
    Jan 2009
    Posts
    304
    Location

    Solved: Vlookup with an Index & Match formula

    I need to grab the value from a table based on how another cell aligns/matches to its values.

    The attachment shows what I’m trying to do.

    Thanks for any help...

    JimS
    Attached Files Attached Files

  2. #2
    VBAX Mentor
    Joined
    Feb 2009
    Posts
    493
    Location
    Do you need to be able to add values to the color codes or is there always just going to be the 4? Are you happy with a UDF?
    -----------------------------------------
    The more you learn about something the more you know you have much to learn.

  3. #3
    VBAX Mentor
    Joined
    Aug 2008
    Posts
    323
    Location
    Is the purpose of this to finally color the cells or does color code actually important?if it is just the color that is important then did you try conditional formatting?
    I am a Newbie, soon to be a Guru

  4. #4
    VBAX Mentor
    Joined
    Jan 2009
    Posts
    304
    Location
    No, I need to value from the Table, it's not for Conditional Formatting.

  5. #5
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    750
    Location
    I've tried this with Named Range as the normal VLOOKUP and MATCH don't work if the LOOKUP ARRAY is on the left side. The table 'A7:B18' is now a named Range. The formula is built only for this case, it may become unwieldy for more cases.

    I am attaching the workbook and there's a bit of doubt as Cases seem to change as Lower Limit<Value=>Upper Limit. I've marked the case 2 doubt in the worksheet.
    Attached Files Attached Files
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

  6. #6
    VBAX Mentor
    Joined
    Jan 2009
    Posts
    304
    Location
    Thanks, that's one large formula.

    Thanks again...

    JimS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •