+ Reply to Thread
Results 1 to 4 of 4

Using Subtotal Feature for multiple Subtotals

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    Columbus, Ohio
    MS-Off Ver
    2010
    Posts
    9

    Using Subtotal Feature for multiple Subtotals

    I have a set of data which I need to subtotal by State and Type. I have created a much simplified spreadsheet to show data as I receive it, and how I would like to sum that data.

    I have used the Sub-total function, but only get either subtotal by State OR Type. I need to Subtotal by Type within each State AND Subtotal by State. I want to use the Subtotal function to add subtotals and have a report similar to the "Desired Look" tab.

    I have been able to figure out how to get either all of the "Type" subtotals, OR the "State" subtotals, but haven't been able to figure how to get both.

    Needless to say my "Real" data spreadsheet has tens of thousands of lines, thus my desire to not have to this manually.

    I thought I would be able to use the subtotal tool to separate the states and then within the states do the Type, but when I try that, Excel deletes the store totals.

    SUrely there is a way to this without manually going through thousands of lines of detail. I know I could do it with SUMIFS at the bottom of the report, but how do I do this and make it automatic??

    Thanks, Paul
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Using Subtotal Feature for multiple Subtotals

    Does this look like what you want?
    Select the data, then go to the data tab, select "subtotal" in the outline section. First do it at each change in state then press ok. Then do it again on the same selected data and change it to each change in Type. This time make sure to uncheck "replace current subtotals." Now when you press OK it will add in the second layer.
    Attached Files Attached Files
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    Columbus, Ohio
    MS-Off Ver
    2010
    Posts
    9

    Re: Using Subtotal Feature for multiple Subtotals

    Thank You Nigelgloomy!! I have done this before (years ago) and I KNEW there was a way to do it... That pesky check box escaped my notice!

  4. #4
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Using Subtotal Feature for multiple Subtotals

    You are welcome. Glad it was an easy fix.

+ 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] Subtotals without using subtotal
    By BrettW in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2015, 09:49 AM
  2. Find mode by using subtotal feature?
    By sccrbrg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2014, 12:03 PM
  3. Pivot Table Subtotal of Subtotals
    By shadedrivein in forum Excel General
    Replies: 6
    Last Post: 07-12-2011, 10:02 AM
  4. Excel 2007 : Pivot Table Subtotal of Subtotals
    By shadedrivein in forum Excel General
    Replies: 0
    Last Post: 07-07-2011, 02:56 PM
  5. Multiple Subtotaling (Subtotal the subtotals and grand total it all)
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 11-23-2010, 05:46 PM
  6. Subtotals: Nested subtotals below higher subtotal
    By RobN in forum Excel General
    Replies: 1
    Last Post: 07-20-2006, 04:10 PM
  7. [SOLVED] Subtotals feature
    By StephanieH in forum Excel General
    Replies: 1
    Last Post: 08-16-2005, 07:05 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