+ Reply to Thread
Results 1 to 5 of 5

Duplicate Cells' Summed Total

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    The Moon, Milkyway Galaxy
    MS-Off Ver
    2013
    Posts
    19

    Duplicate Cells' Summed Total

    Hey there party people,

    This seems to be a question asked about before, however, no clear-cut answer solves my puzzle. I've tried variations of sumif and countif functions. Please let me know what you got.

    My document is like this:

    A B

    123ABC 1000
    123ABC 1500
    456DEF 450
    789GHI 500


    I just want to get a new sheet that says:


    A B

    123ABC 2500
    456DEF 450
    789GHI 500


    Please and thank you.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Duplicate Cells' Summed Total

    Have you considered a Pivot Table. That will give you the results you seek.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Duplicate Cells' Summed Total

    SUMIF() will get you individual results.

    To quickly and easily summarize an entire table, make sure row 1 has "titles" and then apply a Pivot table.
    Pivot video: https://www.screencast.com/t/vGerfUHg
    Last edited by JBeaucaire; 02-01-2017 at 06:38 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Duplicate Cells' Summed Total

    Have you considered a Pivot Table. That will give you the results you seek.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Duplicate Cells' Summed Total

    Here's another one...

    Data on Sheet1...

    Sheet1
    A
    B
    1
    Item
    Value
    2
    123ABC
    1000
    3
    123ABC
    1500
    4
    456DEF
    450
    5
    789GHI
    500


    On Sheet2...

    Sheet2
    A
    B
    1
    Item
    Total
    2
    123ABC
    2500
    3
    456DEF
    450
    4
    789GHI
    500
    5


    This array formula** entered in A2:

    =IFERROR(INDEX(Sheet1!A$2:A$5,MATCH(0,COUNTIF(A$1:A1,Sheet1!A$2:A$5),0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    This formula entered in B2:

    =IF(A2="","",SUMIF(Sheet1!A:A,A2,Sheet1!B:B))

    Select A2:B2 and copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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: 4
    Last Post: 05-07-2015, 02:56 PM
  2. need help linking activex option box to summed total
    By llomax83 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2014, 02:18 AM
  3. [SOLVED] Need multiple duplicate rows summed into one row for each product/version, delete dups
    By gereckes in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2014, 04:33 PM
  4. Formula to identify certain cells that should be summed
    By adam141 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-15-2013, 09:16 AM
  5. Which Cells Summed = Known Target
    By Branno in forum Excel General
    Replies: 3
    Last Post: 01-02-2011, 07:27 PM
  6. [SOLVED] Total Summed Count of Numeric Repeat (Paired /Double Instance) Criteria
    By Sam via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2006, 10:35 PM
  7. [SOLVED] adding summed cells in a conditional sumif
    By Tat in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

Tags for this Thread

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