+ Reply to Thread
Results 1 to 2 of 2

Search for like names and return values in adjacent cells

Hybrid View

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Search for like names and return values in adjacent cells

    I have a workbook with 2 sheets. On one sheet I have names and phone numbers and email addresses etc. On the other sheet I have just names. Some will match the first sheet. What I need to do is match them and then return the value in the phone field and the email field in 2 seperate cells.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,100

    Re: Search for like names and return values in adjacent cells

    you can use vlookup or index match

    assuming
    sheet1 assuming the range is from row 2 to row 1000
    A = name
    B = phone
    C = email

    Sheet2
    A = name

    in B2 put

    =vlookup(a2, sheet1!$A$2:$C$1000, 2,false)
    copy down

    in c2 put
    =vlookup(a2, sheet1!$A$2:$C$1000, 3,false)
    copy down

    you will get
    #N/A
    where there is no match
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. Replies: 14
    Last Post: 06-17-2013, 09:43 AM
  2. search array of cells in one workbook and return the value of the adjacent cell
    By tomturner89 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-06-2013, 04:09 AM
  3. Traverse a colum match a text and return sum of all values in adjacent cells
    By realdost in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2012, 09:49 PM
  4. Replies: 2
    Last Post: 08-17-2011, 01:35 PM
  5. Search column, return values in adjacent column?
    By HELPME13 in forum Excel General
    Replies: 3
    Last Post: 10-01-2010, 11:17 AM

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