+ Reply to Thread
Results 1 to 2 of 2

Linking data from 2 sheets

  1. #1
    Registered User
    Join Date
    04-06-2011
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Linking data from 2 sheets

    Hi,

    I am using excel 2007, and have a question regarding formula - well I hope there is a formula for what I'm trying to achieve.

    Basically I have 2 sheets in excel, the first sheet contains text messages imported from a phone and the second sheet is a list of contacts also imported from the phone.

    My problem is that on the first sheet the 2nd column displays the phone number the message was sent or recieved to. I need if possible to change this into the name from the second sheet hopefully using a formula as there are thousands of rows I need to change.

    The layout of the two sheets are as follows:

    Sheet 1:

    Column A = Date
    Column B = Number - this is the number I need to find from the 2nd sheet
    Column C = Sent
    Column D = Who - I created a new column to make it easier so excel could put the name from sheet 2 in here rather than change column B
    Column E = Text message

    My data starts from cell A3

    Sheet 2:

    Column A = First name
    Column B = Surname
    Column C = Type of number
    Column D = Phone number

    Data starts from cell A3

    If anyone can help it would be greatly appreciated as doing this manually will take forever!

    Thanks
    Josh

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Linking data from 2 sheets

    =Index(sheet2!A:A,Match(B2,Sheet2!D:D,0))&" "&Index(sheet2!B:B,Match(B2,Sheet2!D:D,0))
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

+ 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