+ Reply to Thread
Results 1 to 5 of 5

Using a formula to transfer information between sheets, in different rows

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    Chicago, USA
    MS-Off Ver
    Excel 2003
    Posts
    16

    Using a formula to transfer information between sheets, in different rows

    I've attached a sample workbook.

    I have a list of names with some background information. Three sheets, each representing a different time period and different test score.

    On the first sheet, I have painstakingly collected the email address of each person. I've attached a few, but it's actually a few hundred.

    On the second sheet, I have a few email addresses, but not all of them. However, there is some overlap in the names, so I may have already looked up the email addresses for some of the names in Sheet 1. So as you notice, Jet Li is already on Sheet 1, in Row 6. I would like to arrange it so that in Sheet 2, *if* the name is already in Sheet one, insert the email address. Note that on Sheet 2, Jet Li is on Row 11.

    I also have Sheet 3, which may have some overlap with the first two sheets. I want to insert all the email addresses, if available, into the third sheet. So note that on Sheet 3, Jet Li is again there in Row 11. So is Tanya walker, who was in Sheet 1, and Vince Brood, from Sheet 2.

    Note that names are in different rows. That's what I'm having trouble getting over, since the IF formula works if it's in the same row.
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Using a formula to transfer information between sheets, in different rows

    I would suggest a different approach using an event driven macro.

    Open the VBA editor (Alt F11), select the ThisWorkbook tab in the Project explorer pane on the left and paste in the following.

    Please Login or Register  to view this content.
    This will add both the e-mail and education values if they already exist on another sheet when an entry is made.

    To update an existing sheet, simply select the names, copy and paste back upon themselves.

    Hope this helps.
    Martin

  3. #3
    Registered User
    Join Date
    11-24-2007
    Location
    Darwin NT, Australia
    Posts
    8

    Re: Using a formula to transfer information between sheets, in different rows

    Hi Skal,

    I just received good advice with a problem I had (note the past tense ;o)

    In your situation the use of VLOOKUP may be of some help and being immediate.

    However, do keep in mind that people often change their e-mail addresses for any number of reasons, therefore, only use the newest one available. Same goes for their academic achievements or other pieces of info not shown on the sample workbook.

    If the number of worksheets exceeds 3 or 4 it is probably better to go with the macro approach (much less typing :o)

    Hope this doesn't throw a spanner into the works

    Cheers

    Elmar

  4. #4
    Registered User
    Join Date
    02-09-2009
    Location
    Chicago, USA
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Using a formula to transfer information between sheets, in different rows

    Thank you both.


    I have to run out of work, but I will try these ideas first thing when I come in tomorrow.

  5. #5
    Registered User
    Join Date
    02-09-2009
    Location
    Chicago, USA
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Using a formula to transfer information between sheets, in different rows

    Oh, Elmar, I just changed the information for the sake of the example, since the actual info. I'm using is complicated. I'm not using students and email addresses - I'm doing something totally different.

+ 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