+ Reply to Thread
Results 1 to 3 of 3

Index/Match to find a range of values within another range

  1. #1
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Index/Match to find a range of values within another range

    Hi,
    I am trying to force myself to learn to use Index/Match rather than VLookup all the time.

    The problem is that 99.99% of the time that I use VLookup it is to find a range of values that match another range of values (see attached example spreadsheet), but all the examples I can find of Index/Match just match a single value (usually the contents of a single cell) within a range of values.

    If I have a 2 column table that I have named “Parts” that contains a column for Part Number and another column for Cost I can easily use VLookup to populate a Cost column in another table where the Part Numbers are in a different order, for example, using the formula:

    =VLOOKUP(A2,Parts,2,FALSE)

    What would my Index/Match formula be to do the same thing (again, please see the example file)?

    Thanks very much

    Dave
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Index/Match to find a range of values within another range

    you have made parts =Sheet1!$F$1:$G$5
    which is a table of 2 columns
    so when you try do

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    match does not know which column to look at

    a form of match index formula can be
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    i found this explains it in words
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    http://www.randomwok.com/excel/how-to-use-index-match/
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Index/Match to find a range of values within another range

    Please try at C2
    =INDEX($G$2:$G$5,MATCH(A2,$F$2:$F$5,0))

+ 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] Find First Match Of Two Criteria In Index Range
    By swordswinger710 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 03-11-2019, 10:12 AM
  2. [SOLVED] Index match with range of values
    By Brian65 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-18-2018, 06:28 AM
  3. [SOLVED] Best Method... Range.Find or Index.Match?
    By Quint6778 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2017, 10:37 AM
  4. Index Match to find match date to a range of dates
    By downcrusher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2017, 06:05 PM
  5. Index, Match to a range of values < >
    By overbomb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2015, 09:51 AM
  6. Find value in range with two criterias, INDEX MATCH MAX
    By gnoke in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-24-2014, 07:48 AM
  7. MATCH - find values in a range <> another range
    By allanr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-11-2007, 07:39 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