+ Reply to Thread
Results 1 to 4 of 4

Comparing Columns

Hybrid View

ryanb4614 Comparing Columns 07-14-2010, 10:48 PM
martindwilson Re: Comparing Columns 07-15-2010, 02:57 AM
ryanb4614 Re: Comparing Columns 07-15-2010, 06:31 AM
martindwilson Re: Comparing Columns 07-15-2010, 06:54 AM
  1. #1
    Forum Contributor
    Join Date
    07-12-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    136

    Comparing Columns

    Distributor A has all weights and UPC (upc in 1 column and weights in another)
    Distributor B has is missing weights and may not have the all the same product/upc they may have more/differ etc.

    I need to...
    If distributor A and B have the same upc I need Distributors A weight to go into Distributors B weight column IF there is a 0. I needs to go into distributor B column that is already there. So basically its taking the information from distributor A column if the upc match and replacing the 0. But if there is not a 0 and upc still match it does nothing.

    So 4 Columns all together can't make a seperate column. It needs to add into distributors B weight column if there is a 0 and has the same UPC as Distributor A

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Comparing Columns

    how about an example workbook?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    07-12-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    136

    Re: Comparing Columns

    Here is an example. See attachment
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Comparing Columns

    you cant do that in the same cell ie if cell has a value you cant put a formula in there as well.
    you need to copy cols a:b to somewhere and use vlookup on it
    see attached
    Attached Files Attached Files
    Last edited by martindwilson; 07-15-2010 at 07:04 AM.

+ 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