Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows 7

Microsoft Excel 2010 : Formatting Subtotals, Applying Multiple Subtotal Function Types (part 2) - Combining Multiple Subtotals to One Row

12/3/2013 3:14:28 AM

2.2 Combining Multiple Subtotals to One Row

When applying multiple function types, Excel places each subtotal on its own row. There is no built-in option to have the subtotals appear on the same row. But you can manipulate Excel to make this happen by applying a subtotal to a column where you don’t want it, and then manually changing the formula.

Portraying Multiple Function Types on a Single Row

To have multiple function types appear on a single row, as shown in Figure 2, follow these steps:

1.
Sort the data by the column the summary should be based off of. For example, if summarizing by region, sort the Region column.

2.
Select a cell in the dataset.

3.
Go to Data, Outline, Subtotal.

4.
From the At Each Change In field, select the column by which to summarize the data.

5.
From the Use Function field, select the function to calculate the totals by.

6.
From the Add Subtotal To field, select the columns the totals should be added to. Also select the column where you want to apply the second function type, like the Customer column selected in Figure 3.

7.
Click OK.

8.
Collapse the dataset by clicking the “2” outline symbol so only the total rows are visible.

9.
Select the data in the column where the second function type should be.

10.
Go to Home, Editing, Find & Select, Go to Special, and select Visible Cells Only.

11.
Go to Home, Editing, Find & Select, Replace.

12.
In the Find What field, type “SUBTOTAL(9,”.

13.
In the Replace With field, type the subtotal function using the desired function number. For example, in Figure 4, “SUBTOTAL(2,” will replace the SUM function with the COUNTA function.

14.
Click Replace All.

15.
Click OK to close the Excel notification of the number of replacements made.

16.
Click Close. If needed, apply any required formatting to the selected cells.

Figure 2. Columns F:H are sums of the grouped data, but column D is a count of the data, as shown in the formula bar (3 is the function code for COUNTA).

Figure 3. The Customer column is selected as a temporary holder for the actual subtotal formula that will be used.


Figure 4. Use Find and Replace to replace the automated subtotals with the desired function argument.

Other -----------------
- Microsoft Excel 2010 : Expanding and Collapsing Subtotals, Copying Subtotals
- Microsoft Excel 2010 : SUBTOTAL Function, Subtotal Tool
- Microsoft PowerPoint 2010 : Managing Slides (part 2) - Rearranging Slides
- Microsoft PowerPoint 2010 : Managing Slides (part 1) - Undoing Mistakes
- Microsoft PowerPoint 2010 : Inserting Content from External Sources - Inserting New Slides from an Outline
- Microsoft PowerPoint 2010 : Creating New Slides (part 2) - Creating a Slide from a Layout, Copying Slides
- Microsoft PowerPoint 2010 : Creating New Slides (part 1) - Creating New Slides from the Outline Pane
- Mix and Match with Old Windows and Macs : Installing Optional Network Components
- Using Application Deployment Tools : Deploying Applications Using RDS (part 2) - Packaging RemoteApp Applications
- Using Application Deployment Tools : Deploying Applications Using RDS (part 1) - Deploying RemoteApp Applications
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro