+ Reply to Thread
Results 1 to 9 of 9

Making a list from specific items found in document

  1. #1
    Registered User
    Join Date
    10-26-2013
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Making a list from specific items found in document

    First of all, thank you for helping me solve this one.

    I am building an excel document that needs to gather data from another excel document. I want it to find a specific name, ie Charles, and return values from the adjacent column.

    Charles 23
    Jason 37
    David 45
    Charles 64
    Sam 25


    So, in this situation I would want to see both values, 23 and 64

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Making a list from specific items found in document

    Add filter in first row and filter out any name you like.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Making a list from specific items found in document

    Hello princecanthony,

    Welcome to the Forum!

    Is this document an Excel workbook?
    Is the data your are searching for in the same workbook?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Registered User
    Join Date
    10-26-2013
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Making a list from specific items found in document

    Yes it's an Excel workbook. It is a different file that I want my current file to lookup

  5. #5
    Registered User
    Join Date
    10-26-2013
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Making a list from specific items found in document

    Helloo? Could I get a little help please?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Making a list from specific items found in document

    hello and welcome to the forum

    1st, let me point out that ALL members here are volunteers and offer their help as and when they can. If you are in a hurry for help, I suggest you take a look at our Commercial Services forum, where, for a fee, you will get quicker help.

    On the sheet where your data is, use this in a helper column, copied down (I used C)
    =A1&COUNTIF($A$1:A1,A1)
    It will look like this...
    A
    B
    C
    1
    Charles
    23
    Charles1
    2
    Jason
    37
    Jason1
    3
    David
    45
    David1
    4
    Charles
    64
    Charles2
    5
    Sam
    25
    Sam1


    Then in the workbook where you want the answers, use this, copied down...
    =IFERROR(INDEX('[file1.xlsm]Sheet1'!A$1:B$5,MATCH($A$1&ROW(A1),'[file1.xlsm]Sheet1'!C$1:C$5,0),2),"")
    with "Charles" in A1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    10-26-2013
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Making a list from specific items found in document

    Sorry I am on a deadline for this excel document... But thank you so much!!! You're a lifesaver

  8. #8
    Registered User
    Join Date
    10-26-2013
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Making a list from specific items found in document

    I don't know if this is possible, but a shot in the dark; If the document that my current excel file searches doesn't return any more Charleses, could it search a second file?

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Making a list from specific items found in document

    hmm well maybe try this...
    =IFERROR(INDEX('[file1.xlsm]Sheet1'!A$1:B$5,MATCH($A$1&ROW(A1),'[file1.xlsm]Sheet1'!C$1:C$5,0),2),IFERROR(INDEX('[file1.xlsm]Sheet1'!A$1:B$5,MATCH($A$1&ROW(A1),'[file1.xlsm]Sheet1'!C$1:C$5,0),2)"")).

    (untested)

+ 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. Comparing specific cols from two different files. Document differences found.
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2013, 11:29 PM
  2. Replies: 0
    Last Post: 08-21-2012, 11:35 PM
  3. Replies: 1
    Last Post: 07-11-2012, 01:17 PM
  4. Create a search box that jumps to items found in list
    By cadmancan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-27-2009, 11:44 AM
  5. Making a list of checked items
    By aburnce in forum Excel General
    Replies: 1
    Last Post: 12-27-2008, 07:29 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