+ Reply to Thread
Results 1 to 4 of 4

Populating a cell when comparing two different lists

  1. #1
    Registered User
    Join Date
    07-12-2007
    Posts
    40

    Populating a cell when comparing two different lists

    I have a list of names and a seperate list of names with emails.

    In column A there is a last name, column B a first name, and then for the second list in column D there is an email.

    I need to tell Excel that if column A and Column B both have a replication on the list, then in Column D populate it with the email address on the list.

    I know this is confusing so I have attached a sample of my spreadsheet. The email address is in yellow and I need to have it copied to the cells in white. The list is almost 14,500 lines long and it would take forever manually.

    Any suggestions?
    Attached Files Attached Files
    Last edited by KRayKeeling; 10-13-2008 at 09:28 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello KRayKeeling,

    Welcome to the Forum!

    The attached workbook is the one you posted with the following macro added to fill in the blank email addresses. Here is the code for the macro. I added a button on the worksheet to run the macro. If you have any questions, let me know.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-12-2007
    Posts
    40
    Oh my goodness!!! You are such a lifesaver!! Thank you so much for your help!!

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    How about using a formula


    Please Login or Register  to view this content.
    I need your support to add reputations if my solution works.


+ 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. Parsing Email Address from cell
    By Highbury_White in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-25-2008, 11:14 AM
  2. Email workbook, enter email address box
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2008, 09:08 AM
  3. excel 2003: creating a standard email address from a list of names
    By mackinlay in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2008, 09:37 AM
  4. Adding a second email address
    By chris_mayer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2007, 09:03 AM
  5. Capture Email Name Or Address
    By JoJo in forum Excel General
    Replies: 2
    Last Post: 03-20-2007, 02:47 PM

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