Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to quickly insert subtotals in Excel?

Supposing, you have large rows of data, sometimes, you want to insert subtotal formulas and grand totals for a column or columns, so that you can get valuable information. The Subtotal function in Excel can help you insert the SUM, AVERAGE, COUNT, MIN, MAX and other formulas that you need.

Maybe, sometimes, you need to insert the subtotals at the bottom of each page, but the Subtotal function just only can insert the subtotals for the category data not for the entire page data. Both of the two subtotals are useful for us. Today, I will introduce these two types of subtotals for you.

Insert category subtotals with Subtotal function

Insert subtotals at the end of each page with Kutools for Excel

arrow blue right bubble Insert category subtotals with Subtotal function

Supposing you have the following data as the screenshot shown, let’s look at how to use the Subtotal function of Excel.


1. Select the range that you want to insert the category subtotal.

2. Click Data > Subtotal, see screenshot:


3. In the Subtotal dialog box, please specify the following option:

  • (1.) From At each change in drop down list, select the column you want your subtotals based on, in this example, I select Name.
  • (2.) Select what type of subtotal formula you want to insert from Use function option, I choose the Sum function.
  • (3.) Select which column you want subtotal inserted from Add subtotal to list box, I select sales volume($) to sum the values.
  • (4.) If you’ve already inserted subtotals but you want to change them, you can check Replace current subtotals option;
  • Page break between groups option can help you to insert page breaks for the category subtotals automatically.
  • Summary below data: This inserts the subtotals at the bottom of each change in data. If you don’t check this option, the subtotals will be inserted at the top.


4. After specify the settings, click OK. You will get the following result:


arrow blue right bubble Insert subtotals at the end of each page with Kutools for Excel

Supposing you have hundreds rows of data, and you want to automatically insert subtotals of each column at the bottom of each printed page. Of course, you can insert the subtotal formulas as you need manually at the correct position. But this will tedious and time consuming.

With Kutools for Excel’s Paging Subtotals, you can easily insert the subtotals at the bottom of each page at once.

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days. Get it Now

After installing Kutools for Excel, please do as follows:

1.Click Enterprise > Paging Subtotals, see screenshot:


2. In the Paging Subtotals dialog box, check the heading of column that you want to insert subtotal for it, if you don’t want to insert subtotal for some specific columns, please uncheck them. And then click on the function list to select the subtotal functions, such as sum, count, average, max, min, product and count numbers as your need. See screenshot:


3. Then click OK, two new rows of subtotals have been inserted for each page at the end of the data. See screenshots:

doc-insert-subtotals7 doc-insert-subtotals8
doc-insert-subtotals9 doc-insert-subtotals10

Click Paging Subtotals to know more about this feature.

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.