+ Reply to Thread
Results 1 to 5 of 5

[HELP] me to remove duplicate values and leave that cell as blank

  1. #1
    Registered User
    Join Date
    09-28-2013
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    15

    [HELP] me to remove duplicate values and leave that cell as blank

    Hi,
    as you can see there are some values in the cell A which are duplicated, what I want is to remove duplicated values and put those unique values either in cell B or in cell A, but I also want after removing duplicate cell should remain blank..
    Attachment 392117

    actually I have data which I want to make unique,

    I know gurus are here to help Thanks for creating such a great forum.

    please check this file with duplicated entries..actually cell has over limited characters in single cell, that's why count-if not working.
    Remove duplicate values.xlsx

    someone suggested that this can be done in VBA please help
    Last edited by spa3212; 04-30-2015 at 01:33 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: [HELP] me to remove duplicate values and leave that cell as blank

    You have some cells that this code does not recognize as values.

    This code will countif each cell, if it is greater than 1 then it will add it to the Union Range.

    Once the loop is completed it will clear the cells next to the new range.
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: [HELP] me to remove duplicate values and leave that cell as blank

    Maybe:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-28-2013
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: [HELP] me to remove duplicate values and leave that cell as blank

    Please guide me how to use these codes in vba...
    grateful to you if you can show me step wise..

    many thanks

  5. #5
    Registered User
    Join Date
    09-28-2013
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: [HELP] me to remove duplicate values and leave that cell as blank

    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:

    Please Login or Register  to view this content.
    I attached a file this file have cell with over 800 character in a single cell..is it possible if this code can identify and remove duplicated.

    Remove duplicate values.xlsx

    Thanks in advance.
    I tried your code, but I get type mismatch run time error 13
    on
    Range(Cells(i + 1, "A"), Cells(x, "A")).Replace Cells(i, "A").Value, "", xlWhole

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [HELP] me to remove duplicate values and leave that cell as blank
    By spa3212 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-30-2015, 12:55 AM
  2. [SOLVED] How to remove duplicate data but leave the row with highest value from another column
    By mgilmore77 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-22-2014, 08:59 PM
  3. [SOLVED] Remove duplicates without removing cells (leave blank)
    By RobertOHare in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2013, 09:57 AM
  4. How can I remove the #NUM from a cell and leave it blank?
    By Sharonits in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-09-2013, 04:16 PM
  5. Replies: 4
    Last Post: 09-18-2012, 09:06 AM

Tags for this Thread

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