…subtotal the Sales for that region and at each change for the inner, Sport column. At each change in the outer, Region column…Ģ. You can insert subtotals for inner, nested groups within their corresponding outer groups as shown in the following example.ġ. To avoid overwriting the existing subtotals, clear the Replace current subtotals check box. Optionally, you can use the Subtotals command again by repeating steps one through seven to add more subtotals with different summary functions. For example, using the example above, you would clear the check box. To specify a summary row below the details row, select the Summary below data check box. To specify a summary row above the details row, clear the Summary below data check box. If you want an automatic page break following each subtotal, select the Page break between groups check box. For example, using the example above, you would select Sales. In the Add subtotal to box, select the check box for each column that contains values that you want to subtotal. For example, using the example above, you would select Sum. In the Use function box, click the summary function that you want to use to calculate the subtotals. For example, using the example above, you would select Sport. In the At each change in box, click the column to subtotal. On the Data tab, in the Outline group, click Subtotal. To sort the column that contains the data you want to group by, select that column, and then on the Data tab, in the Sort & Filter group, click Sort A to Z or Sort Z to A. You can insert one level of subtotals for a group of data as shown in the following example. Make sure that each column in a range of data for which you want to calculate subtotals has a label in the first row, contains similar facts in each column, and that the range does not include any blank rows or columns. To display them again, clear all filters For more information on applying filters, see Quick start: Filter data by using an AutoFilter. Note: If you filter data that contains subtotals, your subtotals may appear hidden. The Subtotal command also outlines the list so that you can display and hide the detail rows for each subtotal. If the workbook is set to automatically calculate formulas, the Subtotal command recalculates subtotal and grand total values automatically as you edit the detail data. For example, if you use the Average summary function, the grand total row displays an average of all of the detail rows in the list, not an average of the values in the subtotal rows. Grand totals are derived from detail data, not from the values in the subtotals. You can display more than one type of summary function for each column. Subtotals are calculated with a summary function, such as Sum or Average, by using the SUBTOTAL function. Note that this will remove all table functionality from the data except table formatting. To add subtotals in a table, you must first convert the table to a normal range of data, and then add the subtotal. The Subtotal command will appear grayed out if you are working with an Excel table. Important: Subtotals are not supported in Excel tables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |