Results 1 to 6 of 6

Sum and count duplicates in an array

Threaded View

  1. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: Sum and count duplicates in an array

    Try

    D5=IF(SUMPRODUCT(--($B$5:$B$13&$C$5:$C$13=B5&C5))>1,"Yes","NO")

    J17=SUM(IF(FREQUENCY(IF(D5:D13="Yes",MATCH(B5:B13,B5:B13,0),0),ROW(B5:B13)-ROW(B5)+1)>0,C5:C13,0)) with control+Shift+Enter

    J18=SUM(--(FREQUENCY(IF(D5:D13="Yes",MATCH(B5:B13,B5:B13,0),0),ROW(B5:B13)-ROW(B5)+1)>0)) with control+Shift+Enter.

    Check the attachment.
    Attached Files Attached Files
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Remove duplicates from array and count number of values
    By JDG94 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-05-2016, 02:02 PM
  2. Replies: 13
    Last Post: 04-19-2015, 11:51 PM
  3. Non-array formula to count non-duplicates
    By Dendrobates in forum Excel General
    Replies: 3
    Last Post: 04-06-2015, 06:30 PM
  4. [SOLVED] Array Formula to count specific text ignoring duplicates.
    By JRidge in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 10-07-2013, 05:31 AM
  5. [SOLVED] Identify Duplicates and Non-Duplicates within an Array (Match)
    By simpson11 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-26-2013, 09:49 AM
  6. Count Duplicates from VBA Array?
    By mfleming in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2011, 09:16 PM
  7. [SOLVED] Count duplicates in an array?
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-05-2005, 10:00 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