In this article, we will learn how to add subtotals to primary and secondary fields in Microsoft Excel.
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 data to primary secondary fields.
Example 1: We have data in range A1:E19. Column A contains region, column B contains City, column C contains Product, column D contains Total Revenue, and Column E contains Net Revenue. We have inserted the subtotal as primary and secondary field
We want to color two subtotal levels in different colors.
To color each level in a different color by coloring visible cells, follow below given steps:-
This is the way we can color two subtotal levels in different colors in Microsoft Excel.
If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at firstname.lastname@example.org
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.