+ Reply to Thread
Results 1 to 3 of 3

copy content from cell through search

  1. #1
    Registered User
    Join Date
    10-22-2009
    Location
    San Francisco, CA
    MS-Off Ver
    Excel for Mac
    Posts
    1

    Question copy content from cell through search

    Hi,

    I'm looking for a formula to copy data from a cell based on what it finds on another cell in the same row.

    For example I have 2 sheets. One sheet has names and email addresses. the other sheet has names and their attendance to an event. However, the second sheet has additional names that are not in the first sheet so I can't do a simple sort and copy/paste.

    How can I insert the appropriate email address matched with the name in the first sheet? (for ex, it needs to search the second sheet to find the same first name last name fields, then export/copy the email address from the next column into the first sheet in the column or cell i designate)

    Please help ASAP!

    Thanks!

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    re: copy content from cell through search

    Hi, I think you need VLOOKUP

    =VLOOKUP(<cell where the name is>,<Sheet and area of your table>,<column number of the email address>,FALSE)

    so if the name you want to find the email address for is in A2
    the table with your other data is on Sheet2 in a table from A1 to D100, with the names in column A
    and email addresses are in column D
    use

    =VLOOKUP(A2,Sheet2!$A$1:$D$100,4,FALSE)

    hth

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: copy content from cell through search

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Also, please post in the relevant Forum
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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