+ Reply to Thread
Results 1 to 2 of 2

[Excel 2010] Removing Duplicate Data, Leaving 1 Per Month

  1. #1
    Registered User
    Join Date
    10-20-2016
    Location
    UK
    MS-Off Ver
    2010-2013
    Posts
    14

    [Excel 2010] Removing Duplicate Data, Leaving 1 Per Month

    Hi all,

    Apologies if the title doesn't make much sense, I'll do my best to clarify. I'm looking for a way to go through client data from the past year and work out our total earnings from them based on their affiliated 3rd party company, with duplicate clients from each month being removed, only leaving 1 in each month. However, I still need the money associated with all of the duplicated clients to show. I have created a quick example workbook to try and display the issue I am encountering.

    In the first tab (Source Data) is all the information untouched. This is pretty much how the extracted report is laid out in the application where everything is stored. My initial process was to do the following:

    1) Create a tab for the first company I would create a report for (Company A).

    2) Filter down the Source Data tab to show only clients associated with Company A (In the example sheet only Company A is an entity.)

    3) Copy/Paste this data into its own tab (Company A Clients Deduped) and use the Remove Duplicates function to see only unique clients.

    4) Use a COUNTIF formula that targets the Company A Clients Deduped tab on the Company A Table tab with necessary date ranges to display how many unique clients we had last year.

    5) Use SUMIF formulas on the Company A Table that targets the Source Data tab and allows me to get the money only associated with Company A and is also broken down by our different transaction types.

    Unfortunately, this results in the Company A table displaying mismatched data. For example the March section claims we had 0 clients affiliated with Company A in that month, but received £2,614 of Transaction Type 3. Of course, I understand why this happens, as the columns are targeting a different data set to each other.

    Essentially, what I am looking for is a way to not count duplicate clients, but only if they have already appeared in the target month. The best example of this in my example workbook is Client B, which appears in January, March and June, but is removed from the March and June counts. As it appears in January twice, I want it to count Client B only once in January, and then once more in both March and June, while ensuring all the money from all 4 Client B entries are counted.

    An automated process would certainly be greatly preferred as the real data contains the following:

    4 transaction types
    33 3rd party companies
    14,000 rows of data

    However, a manual process can also be considered as long as it wouldn't be incredibly time consuming.

    Hope someone is able to help me out!
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: [Excel 2010] Removing Duplicate Data, Leaving 1 Per Month

    This sounds like a job for a pivot table. I wish I could point you in the direction of a good pivot table tutorial, but I learned on 2003 and have been learning it incrementally as Microsoft made improvements. I suggest you do a web search for Pivot Table Tutorial 2010.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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 rows based on duplicate cell, but leaving first and last duplicate.
    By LadyNicole in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2013, 05:07 AM
  2. [SOLVED] How to find duplicate values from two sets of data in excel 2010
    By ratu4110 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-30-2012, 04:07 PM
  3. Combining data in duplicate rows; Excel 2010
    By jpanside in forum Excel General
    Replies: 2
    Last Post: 01-25-2012, 09:28 AM
  4. Replies: 6
    Last Post: 04-19-2011, 12:15 PM
  5. Removing time from date/time data - Excel 2010
    By Huzzah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2011, 12:03 PM
  6. Removing Text and Leaving just numbers
    By FRIEL in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-16-2009, 08:12 AM
  7. [SOLVED] Is there a simple way of removing duplicate data in Excel?
    By Martin Hextall in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2006, 06:35 AM
  8. Replies: 1
    Last Post: 04-01-2005, 07:06 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