+ Reply to Thread
Results 1 to 3 of 3

Nested Index Match

  1. #1
    Registered User
    Join Date
    05-28-2009
    Location
    Oxford
    MS-Off Ver
    Excel 2007
    Posts
    86

    Nested Index Match

    I have a unique reference number in Sheet1 that currently has an index match formula from another data set in Sheet2. This works fine like so:

    =INDEX(Produce!$M$2:$M$2000,MATCH($E2,Produce!$F$2:$F$2000,0))

    However the data being retrieved is unnecessarily detailed and needs to be categorised. For example I'm bringing back apples, bananas and oranges - when I want to bring back "Fruits".

    I don't want to edit the data in Sheet2 so I have Sheet3 which categorises the data from Sheet2. ie.

    Apple Fruit
    Carrot Veg
    Orange Fruit
    Pear Fruit
    Pea Veg

    What I want to acheive is a formula that will see the URN, identify it refers to an apple, then bring back a result of Fruit.

    I have hundreds on items that fit into 10 categories. I don't want to mess around with the data in Sheet2. Thanks.
    Last edited by Knawl; 08-07-2014 at 07:19 AM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Nested Index Match

    Try something on these lines

    =INDEX(Sheet3!B:B,MATCH(INDEX(Produce!$M$2:$M$2000,MATCH($E2,Produce!$F$2:$F$2000,0)),Sheet3!A:A,0))

    where in Sheet 3 col A has Apple, Carrot etc. listed and Col B has fruit , Beg against each of these
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    05-28-2009
    Location
    Oxford
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Nested Index Match

    Amazing thanks a lot

+ 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] 3 Nested IF INDEX MATCH
    By JonesZoid in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2014, 10:56 AM
  2. nested if statement with index and match within
    By darkowen in forum Excel General
    Replies: 3
    Last Post: 02-01-2012, 02:02 AM
  3. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 AM
  4. Nested index, vlookup and match
    By Maddyv in forum Excel General
    Replies: 4
    Last Post: 02-02-2010, 02:51 PM
  5. Nested IF (index and match)
    By mikera in forum Excel General
    Replies: 2
    Last Post: 01-21-2010, 11:27 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