+ Reply to Thread
Results 1 to 7 of 7

Sum with column AB with grouping by Name in column G --- and one step further with subs

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2010
    Posts
    29

    Sum with column AB with grouping by Name in column G --- and one step further with subs

    Hey Guys,

    I was looking for help that I think may be quicker to ask then try to go back and figure it out for a few hours.

    I have two worksheets. Sheet 1 is named = Summary
    Sheet 2 is named = RawData_cYTD_2014


    Column G is names --- John, Bill, Larry ---

    Column X is product -- apples, oranges, bananas

    Column AB is quantity -- 100, 50 , 25


    I would like 2 sets of results on my summary page.

    #1 John --- 50
    Bill --- 100
    Larry --- 250

    Just total quantity but if John appears 10 times in Column G (multiple records/same name) , only generate one sum response as indicating in #1 (John --- 50)



    #2 John apples 25
    oranges 25
    bananas 25

    Bill apples 25
    oranges 25
    bananas 25

    Larry apples 25
    oranges 25
    bananas 25

    Still only generate one result for each name, but then a second result summing by product.

    This would be perfect. I would be dumping the master data each month and would like it to obviously update ....

    thanks again, hopefully I was clear

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Sum with column AB with grouping by Name in column G --- and one step further with sub

    Something like this maybe?
    Fruit.xlsx

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

    Re: Sum with column AB with grouping by Name in column G --- and one step further with sub

    I would solve that with an pivot table.

    @gak67

    I used your example to show the pivot table.

    Thanks for that.

    See the attached file.
    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.

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Sum with column AB with grouping by Name in column G --- and one step further with sub

    Yep, should have thought of that myself.

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

    Re: Sum with column AB with grouping by Name in column G --- and one step further with sub

    @gak67

    Thanks for the reply.

    Unfortuanaly no reponds from richtree.

  6. #6
    Registered User
    Join Date
    11-13-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Sum with column AB with grouping by Name in column G --- and one step further with sub

    thanks, I did end up figuring out solving things with multiple pivot tables, but I don't understand how to keep this updating when I dump in the new data ?

  7. #7
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Sum with column AB with grouping by Name in column G --- and one step further with sub

    Click on a pivot table, then on pivot table option, refresh all

+ 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. [SOLVED] Grouping by column value / Transposing Data by column value
    By Zachimus in forum Excel General
    Replies: 5
    Last Post: 08-11-2013, 06:46 PM
  2. SUM each 3 column step
    By ganero in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2010, 02:08 AM
  3. Replies: 3
    Last Post: 12-09-2008, 10:40 PM
  4. Column Step Function??
    By zmodp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-08-2007, 06:37 AM
  5. Help! Grouping amounts in one column based on id on another column
    By explorart in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2006, 04:12 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