+ Reply to Thread
Results 1 to 2 of 2

Searching a string of text and displaying it's corresponding value

  1. #1
    Registered User
    Join Date
    03-16-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    1

    Searching a string of text and displaying it's corresponding value

    Problem:

    In a cell in workbook 1 i need to search what is in red to match with workbook 2. If match is found, it copies the values in workbook 2 (B2,B3,B4) which contains "Sammy 20" into workbook 1 (B2,B3,B4).

    What formula/logical formula to use to that it does this kind of search.
    The attached file has a better view of the problem. I am using Excel 2007 but had it saved at 2003 so that those w/o 2007 can view it too.

    Workbook 1:
    "Sammy 20 attached"

    Workbook 2:
    "Sammy 20 175cm"
    "Sammy 20 drives"
    "Sammy 20 own a house"
    "David 30 120cm"
    "David 30 drinks"
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Searching a string of text and displaying it's corresponding value

    Hi,

    Use Data Filter Advanced

    Put "Info" in say D1 and "Sammy 20" in D2 in Workbook 1

    Now Data Filter Advanced
    List Range = 'Workbook 2'!A1:B6
    Criteria Range = 'Workbook 1'!D1:D2
    Copy To Range = 'Workbook' 1!A1:B1

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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