This is something that is tested almost every year in Grade 12 exam papers: the Subtotal command in the Outline group of the Data ribbon. It is a useful way to aggregate (summarise) large amounts of data quickly. Very important: this is the Subtotal feature, NOT the SUBTOTAL function! Download the Excel spreadsheet and follow along.

Scenario 1

In the first 2 scenarios, we have one year’s financial data. The data represents monthly sales figures. Each month belongs to a financial quarter (column A).

In the example, I use the Subtotal feature to create an outline of the data which includes totals for each of the quarters, as well as a total for the year.

Scenario 2

The second scenario uses the same data with a slightly different format: the monthly sales figures have been grouped into financial quarters (column A).

Microsoft Excel's Subtotal feature.Microsoft Excel's Subtotal feature.

The Golden Rule is: “You must sort the data by the column on which you are going to group the data”.

  1. Select the data, headings included (A2:C14)
  2. Activate the Data menu
  3. Click the Subtotal button
  4. Select the column by which you want to aggregate (group) the data — the data must be sorted by this column!
  5. Choose which function you want to use
  6. Choose which column of values you want to aggregate (calculate)
  7. Select the Summary below data option
  8. Click OK
  9. Your data now has subtotals for each Quarter
  10. You can expand and collapse the levels of the data outline

By MisterFoxOnline

Mister Fox AKA @MisterFoxOnline is an ICT, IT and CAT Teacher. He has a passion for technology and loves to find solutions to problems using the skills he has learned in the course of his IT career.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from stylus

Subscribe now to keep reading and get access to the full archive.

Continue reading