+ Reply to Thread
Results 1 to 4 of 4

Duplicates - How to sum

  1. #1
    Registered User
    Join Date
    03-18-2020
    Location
    Australia
    MS-Off Ver
    365 v2002
    Posts
    1

    Duplicates - How to sum

    Hi I'm sure this is very basic but I'm trying to find a way to add together all duplicate entries.

    I've attached an example of a dummy manifest showing in Column A the product SKU number, in Column B the product name and in Column C the number of units in each carton.

    As you can see the SKU for "Toy A" reoccurs multiple times. What I want to know is how do I sum together all the "Quantity's" for each SKU?

    In practice I will be doing this for over thousands of different SKU's so using the SUMIFS function just doesn't seem practical from the examples I've researched.

    I hope that makes sense....
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-26-2020
    Location
    US
    MS-Off Ver
    2010
    Posts
    157

    Re: Duplicates - How to sum

    Hi,

    I used a helper column to get the unique Products using this formula:

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


    Press CTRL+SHIFT+ENTER to make it an array

    Then in next column this formula:

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


    Then to get SKUs

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


    In all cases drag down your range needed for the number of Products.
    Last edited by RChad; 03-18-2020 at 04:24 AM.

  3. #3
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,780

    Re: Duplicates - How to sum

    E3=SUM(IF(FREQUENCY(IF(B3:B100<>"",MATCH(B3:B100,B3:B100,0)),ROW($B$3:$B$100)-ROW(B3)+1),C3:C100))

    Control+shift+enter

  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,297

    Re: Duplicates - How to sum

    Suggest you use a Pivot Table.
    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


+ 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: 6
    Last Post: 11-27-2018, 07:17 AM
  2. Replies: 5
    Last Post: 08-28-2018, 04:47 PM
  3. [SOLVED] Identification of duplicates numbers in a column and print as duplicates with that number
    By kswapnadevi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2017, 05:25 AM
  4. Macro to find duplicates, concatenate cells, then delete old duplicates
    By givemepuppies in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-04-2016, 02:43 AM
  5. [SOLVED] Macro to find duplicates, concatenate Unique Values, then delete old duplicates
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:32 PM
  6. Replies: 17
    Last Post: 07-05-2011, 05:37 PM
  7. Replies: 3
    Last Post: 03-09-2011, 07:00 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