Note: The other languages of the website are Google-translated. Back to English
English English

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

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

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.

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
This content was really helpful. Thanks for sharing!
This comment was minimized by the moderator on the site
Sir, 17th July,2020.I appreciate your efforts by clearly and deeply showing the article "SUB TOTAL".I know that it is not so easy to drill the topic. But you have done this.Thanking you very much and eagerly await such notes in near future too.Kanhaiyalal Newaskar.
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations