+ Reply to Thread
Results 1 to 3 of 3

Pulling multiple index results from a single input number

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    Kent, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    Pulling multiple index results from a single input number

    Please pardon me if there are any blatant errors in the following. I'm modifying an existing file, not my own, so I may be slightly out of my depth.

    First, an example file:

    Example for Forum.xlsx

    I can't post the original, it's a company file. This is similar, however.

    What should happen is the user selects an item number on the interface sheet, the data sheet pulls up all relevant component numbers and accompanying information for that item number, and it is then displayed on the interface sheet. The original file worked perfectly.

    I copied the whole thing over, entered a new set of data in the table, defined a new name for the array, and changed what I thought were all the relevant parameters in the formulae. What's happening, though, is strange to me.

    The original file had 220 rows of data in the table area. My new file has 600 rows. Even though I changed the array in the formulae it only correctly returns data from the first 220 rows. Enter any item number past that and it for some reason defaults to the first row of data in the table, regardless of the item, and leaves the reast blank.

    As a side note, in case it's important, not all items have three components. I think that's why the original creator used the SMALL/ROW functions to make sure only the components for that item are displayed, regardless of how many there are.

    Anyone have any ideas? I've wracked my brain for hours already.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pulling multiple index results from a single input number

    In M3, try:

    =IFERROR(INDEX(Sandwiches,SMALL(IF(INDEX(Sandwiches,0,1)&""=$L$2&"",ROW(INDEX(Sandwiches,0,1))-MIN(ROW(INDEX(Sandwiches,0,1)))+1),ROW(1:1)),3),"")

    confirmed with CTRL+SHIFT+ENTER and copied down.

    Similar for other columns, changing the Column number (3) appropriately.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-11-2013
    Location
    Kent, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Pulling multiple index results from a single input number

    THANK YOU! Problem solved beautifully!

+ 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. Pulling Data from multiple workbooks into a single workbook
    By fizzy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2012, 08:59 AM
  2. Formula that updates results based on a single input
    By 3dmdlr in forum Excel General
    Replies: 1
    Last Post: 01-25-2011, 12:48 PM
  3. Pulling multiple groups of data from a single Cell
    By panamakevin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-12-2010, 04:13 PM
  4. Index/Match formula not pulling through desired results
    By Climaxgp in forum Excel General
    Replies: 0
    Last Post: 08-02-2010, 08:14 AM
  5. Index Formula not pulling in the right number
    By umass02 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-28-2009, 08:50 PM

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