+ Reply to Thread
Results 1 to 4 of 4

Deleting multiple similar words...?

  1. #1
    Registered User
    Join Date
    10-02-2007
    Posts
    2

    Deleting multiple similar words...?

    Hi, I'm new to this forum and I want to ask some help about excel..

    My first question is, is there any option to delete multiple repeated words in different rows?

    Example:
    name
    name
    name
    name
    fine
    fine
    fine
    okay
    okay
    okay
    same
    same

    Can we just filter it to:
    name
    fine
    okay
    same

    Please tell me the way if there is....

    Thanks a lot

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    You could use Advance Filter to extract a list of unique items

    http://www.contextures.com/xladvfilter01.html#FilterUR

    Or say your data in Column A starting in A1 enter this formula in B1 and drag down

    =SUMPRODUCT(--($A$1:A1=A1))

    Then using Filter > custom > filter on greater than 1 and delete hightlighted rows

    http://www.contextures.com/xlautofilter01.html#Custom

    Another option is a macro

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-02-2007
    Posts
    2
    Thanks a lot... I will try this one..anyway, I am using excel for 6 years but I have no idea about macro...is there any tutorial?

    Thanks once again

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    The Link below on my autosignture has useful links about VBA.

    But here are a few links to delete duplicates that you may be able to follow

    http://www.vbaexpress.com/kb/getarticle.php?kb_id=135

    http://www.ozgrid.com/VBA/RemoveDuplicates.htm

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

    Also search this forum for examples

    VBA Noob

+ 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