+ Reply to Thread
Results 1 to 3 of 3

Couting Duplicate Values as 1 and summing total

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    Cleveland, OH
    MS-Off Ver
    MS Office 2010
    Posts
    10

    Couting Duplicate Values as 1 and summing total

    I have a large spreadsheet in which we are trying to track how many times a partiulcar store submits products to our department over the course of a year. Each product has a date assigned to it and from this we assign a Store/Date concatenate to it to have a unique identifier. There are times where there are multiple submissions on the same date and this creates duplicates to appear. We want to count these duplicates as 1 and then sum how many times this store appears in a file. I have attached a basic sample of what you would see.

    In the file you will see that there are multiple duplicates in column D and I need to count each duplicate as 1 and them sum the 1s to get the total number of submissions per store. My file I am working with is obviously bigger but would be too big to submit on the forum.

    Any help would be greatly appreciate
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Couting Duplicate Values as 1 and summing total

    =--(COUNTIF($D$3:D3,D3)=1)
    and 2 way subtotal and sumifs
    Attached Files Attached Files

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Couting Duplicate Values as 1 and summing total

    Perhaps another way. Copy/paste Store# (like column F below) > remove duplicates and then in G2 this and filled down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    There are also formula methods for removing duplicates. The Remove Duplicates feature is simpler and without calculation overhead.

    A
    B
    C
    D
    E
    F
    G
    1
    Date
    Store
    Product
    Store Date
    Store
    Counts
    2
    1/1/2018
    1234
    A
    123443101
    1234
    2
    3
    2/18/2018
    7890
    Z
    789043149
    7890
    3
    4
    2/18/2018
    7890
    Y
    789043149
    5
    2/18/2018
    7890
    X
    789043149
    6
    3/1/2018
    1234
    B
    123443160
    7
    3/1/2018
    1234
    C
    123443160
    8
    6/5/2018
    7890
    M
    789043256
    9
    7/15/2018
    7890
    N
    789043296


    Does this help?
    Last edited by FlameRetired; 08-29-2018 at 10:13 PM.
    Dave

+ 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] Summing duplicate values(matches) from hlookup, for EACH ROW.
    By ksk806 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-06-2016, 12:32 AM
  2. summing individual values to match total amount
    By cassiopea in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-28-2014, 07:14 AM
  3. Replies: 1
    Last Post: 03-03-2014, 11:06 AM
  4. re: 1, true and 0, false forumlas coupled with couting row values
    By 4GONERS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2013, 12:47 PM
  5. Summing of Multiple Criteria sum but not counting Duplicate Values
    By chadman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 07:34 AM
  6. Summing values from different dates for monthly total
    By HP RodNuclear in forum Excel General
    Replies: 1
    Last Post: 01-21-2011, 11:32 AM
  7. Replies: 1
    Last Post: 08-29-2010, 10:51 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