+ Reply to Thread
Results 1 to 14 of 14

List of data based on name

Hybrid View

sinspawn56 List of data based on name 09-24-2012, 06:18 PM
JieJenn Re: List of data based on name 09-24-2012, 06:23 PM
sinspawn56 Re: List of data based on name 09-24-2012, 06:33 PM
mmmarks Re: List of data based on name 09-25-2012, 01:31 AM
sinspawn56 Re: List of data based on name 09-25-2012, 09:43 AM
liaos Re: List of data based on name 09-26-2012, 02:21 PM
sinspawn56 Re: List of data based on name 09-26-2012, 03:09 PM
liaos Re: List of data based on name 09-26-2012, 03:24 PM
sinspawn56 Re: List of data based on name 09-26-2012, 04:14 PM
liaos Re: List of data based on name 09-26-2012, 04:18 PM
liaos Re: List of data based on name 09-26-2012, 04:19 PM
sinspawn56 Re: List of data based on name 09-26-2012, 04:26 PM
liaos Re: List of data based on name 09-26-2012, 05:06 PM
sinspawn56 Re: List of data based on name 09-26-2012, 05:09 PM
  1. #1
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    List of data based on name

    Hello,

    I have some raw data that contains a name and a reference number among other things. On another sheet I would like to pull the list of all the reference numbers for a name from the raw data. I tried using an index mach but I cannot figure out how to pull the next consecutive reference number for that name.

    I have attached an example.
    Attached Files Attached Files
    Last edited by sinspawn56; 09-25-2012 at 09:44 AM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: List of data based on name

    How about advanced filter?

  3. #3
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: List of data based on name

    That would work, but I would rather have a formula do it, because I am going to be adding more and more raw data too it in a regular basis and this is just one more step. I appreciate the suggestion though.

  4. #4
    Forum Contributor
    Join Date
    11-26-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    159

    Re: List of data based on name

    Is this what you are looking ?
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: List of data based on name

    That works. Thank you.

  6. #6
    Registered User
    Join Date
    09-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: List of data based on name

    HI, thank you both for sharing the example file.
    It has helped me a great deal.

    However, in the example, this formula goes from A$2:$A$21
    =IFERROR(INDEX(data!B:B,SMALL(IF(list!$A$1=data!$A$2:$A$21,ROW(data!$A$2:$A$21)),ROWS(data!$A$2:A2))),"")

    I have a huge table with over 300 rows.
    But when I tried to apply this formula, it will only pull data up until Row 21.
    I have tried to modify the number from 21 to 321, but then it will stop working.

    Can you tell me what was wrong and how I can increase the range?

    Thank you so much.

  7. #7
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: List of data based on name

    Once you change your row value, you have to enter the formula as an array. You do this by holding down CTRL+SHIFT then press enter.

  8. #8
    Registered User
    Join Date
    09-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: List of data based on name

    example.xlsxThank you for your prompt response.
    However, I did Ctrl+Shift+Enter to type my formula with the new row value, but it still didn't work.

    This is the original one that works (up to row 21)
    =IFERROR(INDEX(data!B:B,SMALL(IF(list!$A$1=data!$A$2:$A$21,ROW(data!$A$2:$A$21)),ROWS(data!$A$2:A2))),"")

    This is the one I've modified
    =IFERROR(INDEX(data!B:B,SMALL(IF(list!$A$1=data!$A$2:$A$321,ROW(data!$A$2:$A$321)),ROWS(data!$A$2:A2))),"")

    Did I miss something? The modified formula simply didn't work. (And I tried several variations as well).

    Here is the link to the example file - http://dl.dropbox.com/u/4658634/example.xlsx
    Again, thanks you so much for your help.
    Last edited by liaos; 09-26-2012 at 04:01 PM.

  9. #9
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: List of data based on name

    It seems as though your formula would work. Do you have an example that you could attach?

  10. #10
    Registered User
    Join Date
    09-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: List of data based on name


  11. #11
    Registered User
    Join Date
    09-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: List of data based on name

    If I type "John" or "Ben" or "Mandy", I got different result.
    Which is great.

    However, it never display anything pass Row 21. And I would like it to go through the entire list and pull the result.
    Thanks.

  12. #12
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: List of data based on name

    It seems to be working for me. I have attached your example file.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    09-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: List of data based on name

    That is strange. I opened my own link and modified it and it still didn't work.
    But when I opened yours, then it does.
    I even modified your file from Row 200 to Row 300 and it stays working!!!

    YAYYYY. ^_^
    Thank you so much for your help.

  14. #14
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: List of data based on name

    No problem!

+ 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