+ Reply to Thread
Results 1 to 4 of 4

Merge Help Needed!!!

Hybrid View

Guest Merge Help Needed!!! 04-13-2006, 04:40 PM
Carim Hi, in Sheet Current in... 04-13-2006, 05:18 PM
Guest Re: Merge Help Needed!!! 04-13-2006, 07:10 PM
Guest Re: Merge Help Needed!!! 04-14-2006, 03:10 PM
  1. #1
    Jim123
    Guest

    Merge Help Needed!!!

    I have 2 spreadsheets that have the colums : Partnumber, description, price.
    One is the current version, and the other has updated prices. Actually, the
    one with the current data has 2 additional columns, but the first 3 columns
    are the same in both.

    Here's what I need to do :

    Assume A=current, B=new

    Compare A to B, updating 'only' the pricing cell in A where there are
    identical part numbers.

    I also need to know what parts from B are not in A, so that they may be added.

    Does anyone know how to do this? I don't care if it's an add-on product -
    I'm desparate!

    Thanks

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    in Sheet Current in Cell C2 :
    =INDEX(New!A2:C20,MATCH(A2:A20,New!A2:A20,0),3)

    adjust to your needs ...
    HTH
    Carim

  3. #3
    Jim123
    Guest

    Re: Merge Help Needed!!!

    Carim,

    Worked like a charm. Thanks, I owe you a beer!

    "Carim" wrote:

    >
    > Hi,
    >
    > in Sheet Current in Cell C2 :
    > =INDEX(New!A2:C20,MATCH(A2:A20,New!A2:A20,0),3)
    >
    > adjust to your needs ...
    > HTH
    > Carim
    >
    >
    > --
    > Carim
    > ------------------------------------------------------------------------
    > Carim's Profile: http://www.excelforum.com/member.php...o&userid=33259
    > View this thread: http://www.excelforum.com/showthread...hreadid=532774
    >
    >


  4. #4
    Patricia Shannon
    Guest

    Re: Merge Help Needed!!!

    This worked beautifully for the first test case I set up. But when I started
    looking at it, it can fail if the New table is missing values in such a way
    that there is a match, but the matching row in the New table is smaller than
    the row of the Current table; this is because the addresses are all
    relative. So, eg., when searching for the value for the Current A8, it starts
    to search the New table at A8. If the matching value in the New table is in
    A7, it won't find it. Even if the New table is not missing values, it could
    fail if you happen to have a current table with more than one row with the
    same Partnumber.
    If the references to the New table (at least the rows) are changed to
    absolute (ie, New!$A$2:$A$20 or New!A$2:A$20, and New!A$2:C$20. it will
    take care of all cases.
    Also, the MATCH(A2:A20 can be changed to MATCH(A2

    Of course, Jim, you should save your file before updating it.


    "Jim123" wrote:

    > Carim,
    >
    > Worked like a charm. Thanks, I owe you a beer!
    >
    > "Carim" wrote:
    >
    > >
    > > Hi,
    > >
    > > in Sheet Current in Cell C2 :
    > > =INDEX(New!A2:C20,MATCH(A2:A20,New!A2:A20,0),3)
    > >
    > > adjust to your needs ...
    > > HTH
    > > Carim
    > >
    > >
    > > --
    > > Carim
    > > ------------------------------------------------------------------------
    > > Carim's Profile: http://www.excelforum.com/member.php...o&userid=33259
    > > View this thread: http://www.excelforum.com/showthread...hreadid=532774
    > >
    > >


+ 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