Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

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

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
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
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server