+ Reply to Thread
Results 1 to 2 of 2

Sort and group names, then sum associated numerical values for each group, sort total

  1. #1
    Registered User
    Join Date
    04-18-2014
    Location
    Lubbock USA
    MS-Off Ver
    Excel 2011 Mac
    Posts
    1

    Sort and group names, then sum associated numerical values for each group, sort total

    I don't know if Excel can do this, but I'd bet it can. Anyway, the best way to explain the question is by illustration I believe.

    So, I have this massive spreadsheet, with the maximum rows excel will fit on one sheet. In the interest of simplicity, this is what the raw data looks like:

    Last First Amount

    Jones Jim $1000
    Jung Joe $700
    White Jon $100
    Jones Jim $200
    Jones Jan $300
    Jung Joe $800
    White Jon $200

    What I want to do is automatically get excel to group all the same names together. Then I want it to sum all the values for each name, then order by largest total value for each person, then order that by name alphabetically. In other words, the above would look like this after the sort:

    Last First Amount
    Jung Joe $800
    Jung Joe $700
    Jones Jim $1000
    Jones Jim $200
    Jones Jan $300
    White Jon $200
    White Jon $100

    Or, if necessary, there could be sum total rows under each name...although I don't have spare rows, so IDK. I could delete some rows if I had to, but would rather not.

    Hopefully this makes sense. Any help would be greatly appreciated.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    20,201

    Re: Sort and group names, then sum associated numerical values for each group, sort total

    If I were doing this, I would use a Pivot Table. Look at this link for tutorials on Pivot Tables if you are unfamiliar.

    http://www.datapigtechnologies.com/ExcelMain.htm

+ 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: 1
    Last Post: 10-19-2012, 07:55 AM
  2. [SOLVED] Group/sort rows based on values in multiple columns?
    By teitoku in forum Excel General
    Replies: 5
    Last Post: 08-07-2012, 02:20 PM
  3. Sort a group of names based on the group total
    By ron2k_1 in forum Excel General
    Replies: 3
    Last Post: 08-13-2010, 01:16 PM
  4. Macro to sort data, insert a line after each group & then total?
    By karinmpfa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-24-2006, 08:15 PM
  5. Sort by group
    By DexterV in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-08-2005, 08:48 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