+ Reply to Thread
Results 1 to 2 of 2

How do I compare data between spreadsheets?

  1. #1
    Bryan
    Guest

    How do I compare data between spreadsheets?

    I have a workbook with 2 sheets. On sheet 1 have a list with about 13500 part
    numbers. On sheet 2 I have about 12500 part numbers. On sheet 1 There is only
    data in column A on sheet 2 there is data in Column A, B (Item Name), and C
    (letter).

    What I want to do is compare all the part numbers from each column A and if
    they match pull the info from Column B and C on sheet 2 and fill it in
    column B and C with the correct information.

    I also would like to be able to see which part numbers are different between
    the 2 sheets.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    329
    Do you mean to fill Column B & C on sheet 1 if they are matching pair?

    Try the following:

    B3 = IF(MATCH($A3,Sheet2!$A$1:$A$12500,0),INDIRECT("Sheet2!B"&MATCH($A3,Sheet2!$A$1:$A$12500,0)),"")

    C3 = IF(MATCH($A3,Sheet2!$A$1:$A$12500,0),INDIRECT("Sheet2!C"&MATCH($A3,Sheet2!$A$1:$A$12500,0)),"")

    If you do not want to see "#N/A" for non-matching pair, put in another IF statement if ISERROR output "". I think there is a way to hide error output too, but I am not sure how.


    Hope it helps




    Quote Originally Posted by Bryan
    I have a workbook with 2 sheets. On sheet 1 have a list with about 13500 part
    numbers. On sheet 2 I have about 12500 part numbers. On sheet 1 There is only
    data in column A on sheet 2 there is data in Column A, B (Item Name), and C
    (letter).

    What I want to do is compare all the part numbers from each column A and if
    they match pull the info from Column B and C on sheet 2 and fill it in
    column B and C with the correct information.

    I also would like to be able to see which part numbers are different between
    the 2 sheets.

    Thanks

+ 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