Applying Styles to Subtotal Rows in Microsoft Excel 2010

 

In this article, we will learn how we can apply the styles to subtotal rows in Microsoft Excel 2010.

Subtotal: - This option is used to calculate rows of related data quickly by inserting subtotals and totals.
 
img1
 
Before applying the styles to subtotal rows, we create the subtotal in data.

Let’s take an example to understand how we can use the Subtotal in Microsoft Excel.

We have data in range A1: E18 in which column A contains month, column B contains year, column C contains Date, column D contains Customer name, and column E contains Revenue ($).
 
img2
 
Follow below given steps:-

  • Sort the data as per the year, newest to oldest.

 
img3
 
img4
 
To add the subtotal to a Date field, follow below given steps:-

  • Go to data Tab, and select Subtotal from the Outline group.

 
img5
 

  • Subtotal dialog box will appear.
  • Select year from the drop down list of At each change in.
  • To add the fields, select Sum from the function drop down list.
  • Check to Revenue, and click on OK.

 
img6
 
The data will get add as per the date field in Microsoft Excel.
 
img7
 
To apply the styles to subtotal rows, follow below given steps:-

  • Select a cell in the List area, and press Ctrl+Shift+* .
  • All data will get selected.
  • From the Data menu, select Group and Outline, and then Settings.

 
img8
 

  • Click on Apply styles.
  • The automatic style is applied to subtotal lines.

 
img9
 
This is the way we can apply styles to subtotal rows in Microsoft Excel.
 
 



Example:


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>