In this article, we will learn how to add subtotals to primary and secondary fields in Microsoft Excel 2010.
Subtotal: – This option is used to calculate rows of related data quickly by inserting subtotals and totals.
Let’s take an example and understand how we can add to primary secondary fields.
Example 1: We have data in range A1:E19. Column A contains region, column B contain City, column C contain Product, column D contains Total Revenue, and Column E contains Net Revenue.
To insert the subtotal primary and secondary fields, follow below given steps:-
Sorted in ascending order, the field for which you want to have the primary subtotal in this example product is primary field and region is secondary field.
To add the secondary field in subtotal, follow below given steps:-
This is all about how you can add subtotal to primary and secondary fields in Microsoft Excel.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.