+ Reply to Thread
Results 1 to 4 of 4

Deleting Duplicate data with a twist.

  1. #1
    Registered User
    Join Date
    11-26-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    95

    Deleting Duplicate data with a twist.

    Im not sure if this is a formula solution or VBA or Macro. Open to all Solution methods.


    Sample data.xlsx

    Basically I have a large database and in that database are duplicate entries. However I can't use Excels - 'Delete Duplication' function.
    The reason being. I need to record the number of entries a record has and only record once the values noted against it. So say a company has 5 entries at 20,000 I need to know that there a 5 entries and the total is 20,000 (not 100,000) if it picks up the duplicates.

    Sample data attached.

    However if there is a duplicate company name and the values are different. this is ignored.

    Please left me know if I need to explain more clearer. Appreciate any help. At the moment I am deleting the duplication manually every month.

    I did think maybe a pivot table to calculate the total number of entries per company. Then run Excel's duplication tool?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Deleting Duplicate data with a twist.

    Try this on a copy ... or make a backup first:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-26-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    95

    Re: Deleting Duplicate data with a twist.

    It works. Insane. Love it. Thank you.
    VBA is so powerful. Learning this code could change my whole job.

    Thank you so much for this code. Really appreciate your assistance. Definitely hpe I get your help in the future.

    Thanks again

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Deleting Duplicate data with a twist.

    You're welcome. Thanks for the rep.

    Thank you for you kind words.

+ 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. Finding duplicate data and deleting
    By seanobrathvilly in forum Excel General
    Replies: 6
    Last Post: 06-06-2016, 11:39 AM
  2. Need Help Sorting and Deleting Duplicate Data
    By superdrno in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2014, 03:04 PM
  3. Macro for deleting duplicate data
    By dmarcrum in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2010, 12:05 PM
  4. Delete Duplicate Rows, with a twist
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2008, 10:21 AM
  5. Checking for and then deleting duplicate data
    By oh_hello in forum Excel General
    Replies: 3
    Last Post: 10-14-2006, 01:14 AM

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