+ Reply to Thread
Results 1 to 8 of 8

Remove duplicate rows

  1. #1
    Registered User
    Join Date
    11-30-2006
    Posts
    67

    Remove duplicate rows

    Hi.

    I have found this at:

    http://www.cpearson.com/excel/deleting.htm


    Please Login or Register  to view this content.


    But what i want it to do is to look through two columns like these:

    Cat Number

    Aa 0001
    Aa 0001
    Aa 0001
    Aa 0001
    Aa 0001
    Aa 0002
    Aa 0002
    Aa 0002
    Aa 0002
    Aa 0003
    Aa 0004
    Aa 0005
    Aa 0005
    Aa 0005
    Aa 0005
    Aa 0005
    Aa 0006
    Ab 0001
    Ab 0001
    Ab 0001
    Ab 0001
    Ab 0001
    Ab 0001
    Ab 0001
    Ab 0001
    Ab 0002
    Ab 0002
    Ab 0002
    Ab 0002
    Ab 0002
    Ab 0003
    Ab 0003
    Ab 0003
    Ab 0003
    Ab 0003
    Ab 0004
    Ab 0004
    Ab 0004
    Ab 0004
    Ab 0005
    Ab 0005
    Ab 0005
    Ab 0005
    Ab 0005
    Ab 0005
    Ab 0005
    Ac 0001
    Ac 0001
    Ac 0001
    Ac 0001
    Ac 0001
    Ac 0001
    Ac 0001
    Ac 0002
    Ac 0002
    Ac 0002
    Ac 0002
    Ac 0002
    Ac 0002
    Ac 0003
    Ac 0003
    Ac 0003
    Ac 0003
    Ac 0003
    Ac 0003
    Ac 0004
    Ac 0004
    Ac 0004
    Ac 0004
    Ac 0004
    Ac 0004
    Ac 0004


    and have a result like this:

    Cat Number

    Aa 0001
    Aa 0002
    Aa 0003
    Aa 0004
    Aa 0005
    Ab 0001
    Ab 0002
    Ab 0003
    Ab 0004
    Ab 0005
    Ac 0001
    Ac 0002
    Ac 0003
    Ac 0004

    Is It possible to edit the macro mentioned or is there a complete (better?) way?

    Hope you can help me out on this on...

    Nicolai
    Last edited by Vestlink; 03-01-2010 at 06:01 AM.

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

    Re: Remove duplicate rows

    Supposing your data is in one colmn, select it, go to Data Filter Advanced filter and follow the wizard - Check " unique records only"

  3. #3
    Registered User
    Join Date
    11-30-2006
    Posts
    67

    Re: Remove duplicate rows

    Quote Originally Posted by arthurbr View Post
    Supposing your data is in one colmn, select it, go to Data Filter Advanced filter and follow the wizard - Check " unique records only"
    Actually the data are in two cloumns next to each other.

    Nicolai

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Remove duplicate rows

    maybe..

    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

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

    Re: Remove duplicate rows

    Quote Originally Posted by Vestlink View Post
    Actually the data are in two cloumns next to each other.

    Nicolai

    Works if data is in two or more columns also

  6. #6
    Registered User
    Join Date
    11-30-2006
    Posts
    67

    Re: Remove duplicate rows

    Thanx all.

    It did the trixx.

    Nicolai

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

    Re: Remove duplicate rows

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Remove duplicate rows

    if you have 2007xl you could use
    Please Login or Register  to view this content.

+ 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