+ Reply to Thread
Results 1 to 4 of 4

VBA Remove Duplicates From Column & Ignore Blanks

  1. #1
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    VBA Remove Duplicates From Column & Ignore Blanks

    Hi, I wonder whether someone may be able to help me please.

    I'm trying to put together a script which remove duplicate values from column B on my sheet "Unique Records", but only if there is a value in column C.

    I found a link to a post here: http://www.excelforum.com/excel-prog...lls-blank.htmlwhich I thought I coud adapt.

    The code below is what I've put together so far, but, although I don't receive and error message, the duplicate entries are not deleted.

    Please Login or Register  to view this content.
    I just wondered whether someone could possibly look at this please and let me know where I'm going wrong.

    Many thanks and kind regards

  2. #2
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    Re: VBA Remove Duplicates From Column & Ignore Blanks

    All, I just wanted to let you know that I've found a working solution here: http://www.mrexcel.com/forum/excel-q...uplicates.html

    Thank you for taking the time to reply to my post

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VBA Remove Duplicates From Column & Ignore Blanks

    Hi Christ,


    I have already written this code, so will not do any harm.



    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    Re: VBA Remove Duplicates From Column & Ignore Blanks

    Hi @AB33, thank you for taking the time to reply to my post and for posting a working solution, it is greatly appreciated.

    All the best and kind regards

+ 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. [SOLVED] Remove duplicates and blanks from Combo Box Excel Userform?
    By jmotuk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2013, 12:22 PM
  2. Count Total of items in a column w/o counting duplicates or blanks
    By Clairebear4 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-23-2013, 10:56 PM
  3. [SOLVED] SUMPRODUCT across 4 columns but depends on one column and needs to ignore duplicates!
    By chrismarek in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-20-2013, 11:01 AM
  4. VBA combo boxes (ignore blanks + avoid duplicates)
    By pbobadilla in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2012, 05:44 PM
  5. One column, copy text, ignore blanks...
    By AdamParker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2008, 06:40 PM

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