Select the cell where you want to paste the subtotals.Press Ctrl+C to copy the rows to the Clipboard.Excel selects just the visible information from the range you specified in step 3. Make sure the Visible Cells Only option is selected.Excel displays the Go To Special dialog box. (Do not select complete rows or columns just select the range of cells.) Select the range of cells containing the subtotals you want to copy. Use Excels Subtotal function to aggregate data on multiple levels.(Click on the small 2 in the outline levels shown at the top of the gray area at the left of the worksheet.) Collapse the information in the list so that only the subtotals are showing.Add your worksheet subtotals as you normally would.This is actually rather easy to do, if you follow these steps: (How to create subtotals is covered in other issues of ExcelTips.) You may be wondering, once the subtotals are in place, how you can copy the subtotals to a different worksheet. To learn more about Excel’s Subtotal feature, read 10+ tips for working with Excel’s Subtotal feature.Excel has a handy feature that allows you to automatically add subtotals to a data list. Just remember to uncheck the Replace Current Subtotals option (step 4) when doing so – that’s the key to displaying different subtotaling functions for the same groups. When you want to evaluate the same group, but display a different function, add a new row. In this example, we displayed two Average functions in the first row. Subtotals in the same row will always be of the result of the same function. It’s such a simple step, but the return is huge! The first shows two averages and the second shows the total number of units in stock. Uncheck the Replace Current Subtotals option. This next step is very important – do not skip it.Uncheck the Unit Price and Units In Stock in the Add Subtotal To list and check Units In Stock.To do this, type a number from 1 to 11 to create a SUBTOTAL formula that includes hidden values, or 101 to 111 to create a formula that ignores them. The first component of a SUBTOTAL formula is the functionnum method, which correlates to another Excel mathematical function. This time, select Sum from the Function dropdown. Begin by typing SUBTOTAL ( in the formula bar.In Excel 2003, choose Subtotals from the Data menu. Click anywhere inside the data and click Subtotal (in the Outline group).You sorted the data earlier by Category, so you don’t need to sort again.For instance, let’s sum the number of units on order – without deleting the existing row of averages: When you need to display different subtotaling functions, add another row of subtotals. What you can’t do is add a different function to the same subtotaling row. You could add more averages if you wanted to. How easy was that? With just a few clicks, you generated the average price and stock for each product category. Check the Replace Current Subtotals and Summary Below Data options.
In this case, sort by the Category values to evaluate the many category groups. Because Subtotal evaluates group, you should always sort before executing the feature. First, sort the data by the column that contains the grouping value.
Specifically, we’ll use this feature to return the average for both the Unit Price and Units In Stock fields in the data shown below: In this example file, sheets are combined into single sheet and received subtotal of seleced column.Details and sample workbook at. Multiple subtotaling functionsįirst, let’s use Subtotal to display multiple Average functions for the same group. Two demo Excel files are available for you to download. In addition, it can evaluate the same group using a different function. What you might not know is that Subtotal can evaluate more than one column using the same subtotaling function. You probably know that Excel’s Subtotal feature quickly generates subtotals for groups. You can add multiple subtotaling functions to the same row, and you can add multiple rows. There's more to Excel's Subtotal feature than you might realize. How to Insert Subtotals in Excel Februby Mynda Treacy 2 Comments The Subtotal tool in the Outline group on the Data tab of the ribbon automatically inserts subtotal formulas and grand totals for a column or columns. Display multiple subtotaling functions in Excel