+ Reply to Thread
Results 1 to 9 of 9

VLookUp or Index-Matching

  1. #1
    Registered User
    Join Date
    07-26-2013
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    8

    VLookUp or Index-Matching

    Hi,
    I'm used to using VLookUp for returning a simple one value.
    I''m, however, struggling with data containing around 2k rows and 7-8 columns of personnel names and various skills each resource have where I need to do VLookUP to return all matched values instead of the first matched one only. I've heard and read about Index-Matching but not sure how to use it.
    For example, I'm looking to look up all personnel matching a particular skillset. Say, looking up another sheet on excel with 2k rows who have various skills. I would like my tab to return with names of all candidates having e.g. Advance Excel skills!
    Thanks to anyone with help.
    Heer-Ranjha

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VLookUp or Index-Matching

    Hi,

    From your description it doesn;t seem that an Index Match combination will be much use since in essence it returns one value only. There might be some esoteric more complex functions which might produce lists of all the names yoj are looking for, but you really should be using data filtering. Have you tried this? Either Autofiltering the existing data or if you want to extract to another sheet then the Data Advanced Filter.

    Better than this though would be a Pivot Table - provided of course your data is in a format that a PT can use.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    05-29-2009
    Location
    Kalgoorlie Australia
    MS-Off Ver
    Excel 2007/10
    Posts
    251

    Re: VLookUp or Index-Matching

    Hi Can you attach a sample please, an array formula may be needed!
    Peter

  4. #4
    Registered User
    Join Date
    07-26-2013
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: VLookUp or Index-Matching

    Hi, I've attached sample file.
    Looking at the third tab, I want to get MI in Col C and D from the first tab to tell me which resource has what skills and at what level (Col C and D respectively)
    Look forward to hopefully getting a resolution soon!
    Many thanks for the assistance.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: VLookUp or Index-Matching

    ArraYy formula in C2, then dragged across
    Please Login or Register  to view this content.
    ARRAY formula is used

    To enter ARRAY formula
    Paste the formula
    Press F2
    Press Ctrl+Shift+Enter keys together.
    Formula will be covered with{} brackets.
    Attached Files Attached Files

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: VLookUp or Index-Matching

    Looking at the third tab, I want to get MI in Col C and D from the first tab to tell me which resource has what skills and at what level (Col C and D respectively)
    I have three questions.

    Where is MI and to what does it refer?

    Do you want the skill level numbers returned or the skill level descriptions?

    Could you hand type in columns C and D 10 rows or so of expected returns?
    Last edited by FlameRetired; 12-01-2015 at 10:10 PM. Reason: additional question
    Dave

  7. #7
    Registered User
    Join Date
    07-26-2013
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: VLookUp or Index-Matching

    Thanks for your reply.
    I'm, however, looking to return names of resources in Col C of the third tab. For example, If there are more than one resources with skills of 'Application Migration' then names of all those resources should be returned by the formula in Col C of 'Required Skills with Resources' tab.
    Hope that makes sense!
    Is that something you could help with?
    Many thanks once again

  8. #8
    Registered User
    Join Date
    07-26-2013
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: VLookUp or Index-Matching

    @FlameRetired
    Thanks for your post.
    In response to your questions:

    * MI I want to return will be 'Resource Names' in Col C of the 3rd tab 'Required Skills with Resources' tab. For example, if more than one person has skills of Application Migration (from the first tab which details names and skills, then I would like to see all those names appearing in Col C in the third tab. Is that possible? VLookUp will only return first found name.

    I have attached a file to show what result I am looking for in the third tab.
    It shows, e.g. when no one has the required skills, then value returned is N/A
    If more than one person has the required skills, for example, Agile, then all three resources' names are returned in Col C of the third tab with this skill.
    If possible would be great to have Resource Rating for each person in Col D as well. But it is not as important.

    More interested in getting all names with the required skills to be returned in Col C of the 3rd tab
    Hope this is making sense!

    File attached to help with the above!
    Much appreciated
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: VLookUp or Index-Matching

    Try

    in E2

    =IFERROR(INDEX('Existing Skills'!$B$5:$B$521,SMALL(IF('Existing Skills'!$D$5:$D$521=$B2,ROW($A$5:$A$521)-ROW($A$5)+1,""),COLUMNS($E2:E2))),"")

    Enter with Ctrl+Shift+Enter

    Copy ACROSS and then down

    If you want all the names in one cell you will need to concatenate cells E2 across or use VBA to do this.
    Attached Files Attached Files
    Last edited by JohnTopley; 12-02-2015 at 08:47 AM.

+ 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. Vlookup or index matching needed please help
    By SMITH.CRYSTAL in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-28-2015, 04:06 PM
  2. Use INDEX for matching, and VLOOKUP a MIN between these results
    By gaker10 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-25-2014, 09:05 AM
  3. Vlookup or Index/Match only matching the first 8 characters.
    By CCPopsicle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-18-2014, 10:20 AM
  4. Replies: 3
    Last Post: 01-23-2014, 01:30 PM
  5. [SOLVED] Vlookup to Index matching in VBA
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-10-2013, 02:09 PM
  6. Trouble with Index/Match and/or Vlookup and mutliple column matching
    By eralford in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2012, 08:32 AM
  7. Replies: 4
    Last Post: 05-24-2012, 06:44 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