+ Reply to Thread
Results 1 to 5 of 5

Delete duplicate cells and more....

  1. #1
    Registered User
    Join Date
    10-06-2009
    Location
    Spain
    MS-Off Ver
    Excel 2007
    Posts
    50

    Delete duplicate cells and more....

    Hi again,

    A way to delete in a column duplicate cells and delete cells that contain <= 5 and >=7 characters/numbers?


    Thanks in advanced,
    Elegidos (Spain)
    Last edited by Elegidos; 10-09-2009 at 04:57 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Delete duplicate cells and more....

    If the values where in column A starting at A2, then in B2 you could enter this formula:

    =OR(LEN(A2)<>6,ISNUMBER(MATCH(A2,$A$1:A1,0)))

    Copy that formula down.

    Sort the data or filter the data by that column, delete all the TRUE answers that are now together.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-06-2009
    Location
    Spain
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Delete duplicate cells and more....

    I've attached an example of the information I have in an excel sheet. But I don't know where to put the following code you provided me.
    Attached Files Attached Files
    Last edited by Elegidos; 10-08-2009 at 06:49 PM.

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Delete duplicate cells and more....

    I've attached an example of the information I have in an excel sheet. But I don't know where to put the following code you provided me
    You already have the formula in cell B2, so just extend (fill down) as many rows in column-B as there are used rows in column-A

    Then use the AutoFilter feature to filter and show only cells that have a value of "TRUE". Once filtered, delete all of the rows with data, then turn off the auto filter and you have the results you want.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Registered User
    Join Date
    10-06-2009
    Location
    Spain
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Delete duplicate cells and more....

    Jejejeje, ok . Thanks for the help.

+ 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