+ Reply to Thread
Results 1 to 3 of 3

Group Excel table and get the sum

  1. #1
    Registered User
    Join Date
    10-31-2015
    Location
    Colombo
    MS-Off Ver
    2010,2013
    Posts
    2

    Post Group Excel table and get the sum

    I have an Excel table whose unique key is the combination of Para1, Para2 and Para3:

    Para1 Para2 Para3 Value1 Value2 Value3
    A B C 1 2 3
    A E F 4 6 4
    A B C 5 3 7
    P Q R 4 2 4

    I want to find the duplicates and SUM the values, so the expected output is:

    Para1 Para2 Para3 Value1 Value2 Value3
    A B C 6 5 10
    A E F 4 6 4
    P Q R 4 2 4

    Is there a way to group the data get the SUM?

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Group Excel table and get the sum

    You get better help on your question if you add a small excel file, without confidential information.

    Please also add manualy the expected result in your file.

    To Attach a File:

    1. Scroll down to the window below your post Additional Options
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Group Excel table and get the sum

    Try this:-
    NB:- This code will alter your Data !!!
    Nb:- The code assumes your Actual Data starts in "A2"
    Please Login or Register  to view this content.
    Regards Mick

+ 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. Correlate group columns in excel table
    By chrathan in forum Excel General
    Replies: 4
    Last Post: 07-20-2015, 02:07 PM
  2. Group dates in Excel pivot table by month using VB.NET?
    By OldManExcellor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2015, 09:11 AM
  3. Can't group by dates in Excel 2003 pivot table
    By barbara1234 in forum Excel General
    Replies: 6
    Last Post: 03-03-2015, 02:31 PM
  4. Excel 2007 - Pivot Table: “Cannot Group That Selection” error!!
    By alsalms3 in forum Excel Charting & Pivots
    Replies: 14
    Last Post: 01-13-2013, 01:23 PM
  5. Replies: 1
    Last Post: 04-20-2011, 01:41 PM
  6. [SOLVED] Excel Pivot Table Group Formatting
    By Sherry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-26-2006, 12:35 PM
  7. [SOLVED] Can't group pivot table items by month in Excel
    By scott_ensley in forum Excel General
    Replies: 1
    Last Post: 02-01-2005, 05:06 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