+ Reply to Thread
Results 1 to 4 of 4

Comparison of two sheets. Result needs to return value of a 3rd column.

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    2

    Comparison of two sheets. Result needs to return value of a 3rd column.

    Hi guys, first time visiting this forum but I need some help.

    I have 2 excel sheets, for reference lets call them S1 & S2. I need to compare Column A of S1 and Column A of S2. Based on a positive result, I need to return the value of S2 Column B in S1 Column B.

    Column A of S1 and Column A of S2 don't match up 1 for 1 as there are many more rows in S1 than S2. Because of this I know I need an array of some sort. The problem I'm having is with the return value, how do I write the formula so that the return value = the corresponding value that matches in the array?

    The actual data is two sheets of Customer information. Column A is the customer name on each sheet. Sheet 1 has about 2900 rows, sheet 2 has about 700 rows. For every match I need to return the email address (Column B) listed in sheet 2, into sheet 1 for the correct customer.

    Is there an easy way to do this? Thanks in advance!

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Comparison of two sheets. Result needs to return value of a 3rd column.

    If your range on Sheet1 is from A1 and down, try this in B1

    =VLOOKUP(A1,Sheet2!$A$1:$B$1000,2,0)

    - Moo

  3. #3
    Registered User
    Join Date
    12-13-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Comparison of two sheets. Result needs to return value of a 3rd column.

    Wow! That's basically perfect!

    Thank you

  4. #4
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Comparison of two sheets. Result needs to return value of a 3rd column.

    You're welcome. Glad to help

    - Moo

+ 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