+ Reply to Thread
Results 1 to 3 of 3

Problem with removing duplicates

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    Sofia
    MS-Off Ver
    Excel 2007
    Posts
    67

    Problem with removing duplicates

    Hello,

    I have data in A and B columns. I have duplicate values in column A which i want to remove. If i try to use "expand the selection" when removing duplicates in A it doesn't remove the duplicates because in column B i have unique values. I want to use "expand the selection" because i want to keep the same order of the adjacent cells in both columns.

    I uploaded an example file to make the things more clear.

    example.xlsx

    In column A i have 3 unique values: red, blue, black.
    red has two duplicates, blue has one duplicate, black has four duplicates. I want to remove the duplicates and leave just one unique value in column A. It doesn't matter which unique value will be left, for example, for "red" it can be the value in A2 or A5 or A6 but i want to keep the same value that is in the adjacent cell in column B. For example, if the "red" in A2 is left after removing the duplicates the adjacent cell in column B2 i want to be "color b"

    I hope all this makes sense.
    Last edited by emil9216; 08-20-2012 at 07:16 AM.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Problem with removing duplicates

    Select columns A & B
    Click "Remove duplicates"
    Untick column B from the list of columns to check
    Click "OK"
    Job done.

  3. #3
    Registered User
    Join Date
    04-15-2011
    Location
    Sofia
    MS-Off Ver
    Excel 2007
    Posts
    67

    Re: Problem with removing duplicates

    Thanks, simple solution.

+ 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