+ Reply to Thread
Results 1 to 2 of 2

Lookup a value in list and return a value from the same list

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    11

    Lookup a value in list and return a value from the same list

    Hi, i know that there are formulas for looking up values and returning corresponding items from an adjacent column, but is there a formula for returning values from the same list?

    so in the following example

    Apple
    Crunchy
    Red
    Round
    Pear
    Green
    Juicy
    Oblong

    I want to find the value 'Apple' and return crunchy, red and round (if there is a way that it could stop at pear that would be really really useful!)

    Thanks for any help in advance

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Lookup a value in list and return a value from the same list

    If your data is in column A, these formulas will return crunchy, red, and round, but how would we know to stop at Pear? Excel does not have an ISAFRUIT function This method assumes you know how many values you have to retrieve.

    =INDEX(A:A,MATCH("Apple",A:A,0)+1)
    =INDEX(A:A,MATCH("Apple",A:A,0)+2)
    =INDEX(A:A,MATCH("Apple",A:A,0)+3)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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