+ Reply to Thread
Results 1 to 6 of 6

need formula to compare 2 colums and keep a a value that is lower

  1. #1
    Registered User
    Join Date
    05-14-2011
    Location
    rm valcea
    MS-Off Ver
    Excel 2010
    Posts
    3

    need formula to compare 2 colums and keep a a value that is lower

    Hello,

    I have 2 colums.

    A B

    43 fgh-23-_1
    54,5 fgh-23-_1
    22 kl982323
    90 kl982323
    50 lw-kmn/32
    45 lw-kmn/32


    Can you please tell me a solution to check for duplicate cells in column B and if he founds a duplicate, to check and see what value is in column A and keep the row with the smallest value in A.

    I show end up with this:

    A B

    43 fgh-23-_1
    22 kl982323
    45 lw-kmn/32


    Please tell me there is a solution for this. Thank you very much for your help. I really appreciate it.

    this is found in http://www.pcreview.co.uk/forums/nee...-t4035916.html
    http://www.ozgrid.com/forum/showthread.php?t=154032
    http://www.mrexcel.com/forum/showthread.php?p=2716399
    Last edited by mtanislav; 05-14-2011 at 06:51 AM. Reason: title error and cross post

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: need formula to compare 2 colums and keep a a value that is lower

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this

    http://www.mrexcel.com/forum/showthread.php?t=550050

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: need formula to compare 2 colums and keep a a value that is lower

    mtanislav

    I strongly suggest that you actually read the Forum Rules before posting again
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    05-14-2011
    Location
    rm valcea
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: need formula to compare 2 colums and keep a a value that is lower

    I did not explain this very well.

    Here it is again.

    download the sample data from here http://www.2shared.com/document/2Vlm8cWU/sample.html (the sample only has a 20 items, the original one has 21000) and some products are the same from even 8 suppliers.

    I want to get rid of the duplicate products with the same reference and keep just the one with the smallest price.

    I hope I explained now correctly.

    Thanks again for all your help.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: need formula to compare 2 colums and keep a a value that is lower

    And the cross post link is where?

  6. #6
    Registered User
    Join Date
    05-14-2011
    Location
    rm valcea
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: need formula to compare 2 colums and keep a a value that is lower


+ 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