+ Reply to Thread
Results 1 to 5 of 5

Count duplicates very difficult.

  1. #1
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    Count duplicates very difficult.

    Count number of duplicates with two customer values AND 1 date value

    Count number of duplicates with 3 customers

    Count number of duplicates with 4 customers


    Spreadsheet attached.
    Attached Files Attached Files

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Count duplicates very difficult.

    Hi
    Try this formulas
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Where F5:F11 are the Customer
    See the file
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    Re: Count duplicates very difficult.

    Thanks Jose. Can you explain to me how those work? Thanks.

  4. #4
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    Re: Count duplicates very difficult.

    Actually, this is ok, but I don't really want a formula for each customer. I just want one formula that counts everything up. In my real data set I have 1000's of customers. Thanks.

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Count duplicates very difficult.

    Hi
    Consider the following expression
    ($C$5:$C$17=$ F5)
    Excel will return an array of true and false values that correspond to each of the questions C5=F5, C6=F5, C7=F5, ...C17=F5. This vector can be converted to values 0 and 1 on considering it an arithmetic operation such as the double exchange of signals. So --($C$5:$C$17=$F5) is a vector of 0 and 1 which can be operated with other same-sized vectors or with a data value.
    SUMPRODUCT is one of the few functions that can work with vectors.
    I hope the explanation satisfies you

+ 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. Replies: 3
    Last Post: 10-23-2014, 04:50 PM
  2. [SOLVED] Count duplicates and duplicates with suffix as one instance
    By ruraljur0r in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2014, 12:38 AM
  3. Replies: 2
    Last Post: 12-20-2013, 12:12 AM
  4. Removing duplicates in a count, count based on value in a different cell
    By omf_24 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-10-2013, 07:08 AM
  5. Difficult: Removing duplicates between 2 sheets, or copying Unique rows.
    By RonaldRS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-02-2012, 09:03 AM
  6. Difficult Logic- recognise and count groups
    By Mariner111 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2012, 09:44 AM
  7. Very Difficult & Detailed Macro to find Duplicates
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-27-2007, 06:18 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