STEP-1: Sort the list on the field/s for which you want subtotals inserted using multi level sorting

Select the whole data including headers using ctrl+A ,click on Data  and select Sort.

Use “Add level” option to enable multi level sorting fields.

STEP-2: Click the Subtotal button in the Outline group on the Data tab. The Subtotal dialog box appears.

STEP-3: Select the field for which the subtotals are to be calculated in the “At Each Change In” drop-down list.

STEP-4: Specify the type of totals you want to insert in the “Use” Function drop-down list. Select the check boxes for the field(s) you want to total in the “Add Subtotal To” list box. Click OK.

When you use the Subtotals feature, you aren’t restricted to having the values in the designated field added together with the SUM function. You can instead use AVERAGE or COUNT function depending upon the requirement.

STEP-5: Repeat Step-2 to 4 again. This time In “AT each change in” field; select the next header for which you want the subtotals.

REMEMBER: Uncheck the “Replace current subtotals” check box. Otherwise previous subtotals would be replaced by this one.

Click Ok.

Excel adds the subtotals to the worksheet.

The bottom of a list showing the subtotals and a grand total.

Click Here to download- Excel Sample File


26850 Views 15 Likes Comment   Share Students   Report


About the Author

CHARTERED ACCOUNTANT

Pure logic Hi! I am Ankush Aggarwal from Dil walo ki Dilli. I have completed CA, B.Com and currently pursuing CS Professional.I am also an MBA aspirant. Presently I am working for EYfor the past one year.Before this, I was working with KPMG Audit practice for 1.5 years.I am a part of CAclubindia family since 2009 a ... Read more


CCI Pro

Comments


Related Articles


Loading


Popular Articles





CCI Pro
Meet our CAclubindia PRO Members

CCI Articles

submit article


Company
23 May 2026
Account Executive

SMJ global advisors pvt ltd

New Delhi

B.Com

View Details
Company
09 June 2026
Accounts Associate

S Madan and CO

New Delhi

Graduate (Any)

View Details
Company
26 May 2026
Audit executive

vdsr & co LLP

Chennai

CA Inter

View Details
Company
04 June 2026
Semi Qualified CA

Goyal Puneet & Associates

New Delhi

CA Final

View Details
Company
10 June 2026
Senior Account Executive

JDS Advisory LLP

Ahmedabad

CA Inter

View Details
Company
24 May 2026
Accounts & Tax Executive

PARAS KHURANA AND CO

New Delhi

B.Com

View Details
Company
26 May 2026
Senior Accountant cum purchase Manager

Vardhaman Group of India

Pimpri Chinchwad

CA Inter

View Details
Company
23 May 2026
Article Assistant

Geeta Manchanda & CO.

New Delhi

CA Inter

View Details