+ Reply to Thread
Results 1 to 2 of 2

Delete Duplicates based on rule

  1. #1
    Registered User
    Join Date
    08-21-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    27

    Delete Duplicates based on rule

    Hi I have the following data set and I want a rule that will strip out all the duplicates and give a single row per account where the status will be the first instance of a code number but if there is no code number present, then the #N/A value is to be given. For instance, I want this data set:


    Account Code
    CH0002 #N/A
    CH0002 #N/A
    CH0002 #N/A
    CH0002 #N/A
    DUB01 #N/A
    DUD01 #N/A
    DUD01 #N/A
    DUD01 #N/A
    DUD01 Zx7Zx4IC
    DUD01 #N/A
    DUD01 #N/A
    EM302 #N/A
    EM302 #N/A
    EM302 #N/A
    HS001 #N/A
    HS002 #N/A
    HS002 #N/A
    HS002 #N/A
    PC1017 Zx3x8xIL
    PC1017 Zx3x9K6J
    PC1017 Zx3x4LYU
    PC1020 #N/A
    PC1020 #N/A

    To look like this:

    Account Code

    CH0002 #N/A
    DUD01 Zx7Zx4IC
    EM302 #N/A
    HS001 #N/A
    HS002 #N/A
    PC1017 Zx3x8xIL
    PC1020 #N/A



    Any help would really be appreciated.
    Thanks
    T

  2. #2
    Forum Contributor
    Join Date
    09-28-2014
    Location
    harbin,china
    MS-Off Ver
    2007
    Posts
    162

    Re: Delete Duplicates based on rule

    Hi, hzarry

    Maybe like this
    Attached Files Attached Files

+ 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] Delete Duplicates based on Criteria
    By yuenk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2014, 11:56 AM
  2. Delete Duplicates based on Criteria
    By yuenk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2014, 11:48 AM
  3. [SOLVED] Delete duplicates based on criteria
    By chrism_cfu in forum Excel General
    Replies: 6
    Last Post: 12-07-2012, 08:52 AM
  4. How do you delete a row based on duplicates in one column
    By Franklic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-14-2012, 01:21 AM
  5. [SOLVED] Delete duplicates based on DATES.
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-31-2012, 06:26 AM
  6. Delete duplicates based on cell value
    By uncleslinky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2011, 12:01 PM
  7. Delete Duplicates based on the Value of 2 Cells
    By wiredwrx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2006, 02:16 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