+ Reply to Thread
Results 1 to 5 of 5

Look Up Values in row Table and return - subsequent row values

  1. #1
    Registered User
    Join Date
    10-24-2003
    Location
    Sunderland UK
    Posts
    21

    Look Up Values in row Table and return - subsequent row values

    Look Up Values in row Table and return - subsequent row values

    See File attached.

    Wonder if you can help with a problem I am having.

    Have tried to use LooKUp and Index but to no avail in standard format.


    What I would like is
    Look Up Value in B1 in data table B2:C5, and where there are multiple entry rows for the value in B1 return them as below with the corresponding data in Column C i.e. the date

    United Kingdom 24/12/13
    United Kingdom 25/12/13

    Many thanks

    Tim
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Look Up Values in row Table and return - subsequent row values

    TIM. Try this.

    In B12 and copy down and across this ARRAY(SEE MY SIGNATURE) FORMULA.

    =IFERROR(INDEX(B$2:B$5,SMALL(IF($B$2:$B$5=$B$1,ROW(B$2:B$5)-1),ROW(B1))),"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Look Up Values in row Table and return - subsequent row values

    hi Tim, try this array formula in C12:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL-SHIFT-ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    10-24-2003
    Location
    Sunderland UK
    Posts
    21

    Re: Look Up Values in row Table and return - subsequent row values

    Perfect Ben and Fottis,

    Now if the data was in another Tab, How would that be referenced.

    Example

    The raw data is in

    Tab entitled "Sheet1"

    and I was the data to return in Sheet 2

    Attached Example

    Thanks Again

    Tim
    Attached Files Attached Files

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Look Up Values in row Table and return - subsequent row values

    Same way, Tim.

    =IFERROR(INDEX(Sheet1!B$2:B$5,SMALL(IF(Sheet1!$B$2:$B$5=Sheet1!$B$1,ROW(Sheet1!B$2:B$5)-1),ROW(Sheet1!B1))),"")

    Copy down and across anywhere you like in Sheet2.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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