+ Reply to Thread
Results 1 to 3 of 3

Pull all lines from a table if value matches identifier in another table

  1. #1
    Registered User
    Join Date
    05-07-2015
    Location
    seattle
    MS-Off Ver
    2013
    Posts
    1

    Pull all lines from a table if value matches identifier in another table

    Hi,

    New to this forum and relatively new to formulas, so apologize for the very basic question. I have 2 tables as follows:

    Table 1
    #
    1
    2
    3
    4

    Table 2
    # | Text
    1 | text 1
    1 | text 2
    1 | text 3
    2 | text 4
    2 | text 5
    2 | text 6

    I would like to pull all the text from table 2 if the # is found in table 1. How would I do this?
    Last edited by brizon; 05-07-2015 at 05:52 PM.

  2. #2
    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: Basic Lookup Question

    Hi, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (take a look at the VLOOKUP() function)
    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

  3. #3
    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: Pull all lines from a table if value matches identifier in another table

    A
    B
    3
    1 text 1
    4
    2 text 4
    5
    3
    #N/A
    6
    4
    #N/A


    B3=IFERROR(VLOOKUP(A3,$A$10:$B$15,2,0),"")

+ 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. [SOLVED] Very Basic Question From New Guy
    By nickscofer in forum Excel General
    Replies: 4
    Last Post: 10-20-2014, 12:29 AM
  2. Help to basic question
    By eaglesnest in forum Excel General
    Replies: 1
    Last Post: 11-10-2009, 03:54 PM
  3. Basic 'or', 'and', 'not' Question
    By yawnzzzz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2008, 02:46 PM
  4. Basic UDF Question
    By pullingpaint in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-23-2008, 10:38 AM
  5. [SOLVED] Basic question
    By hshayh0rn in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-28-2005, 04:40 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