How to Subtotal a Column in OpenOffice

Written by william nagel
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Subtotal a Column in OpenOffice
Use Calc to calculate subtotals for your data. (Stockbyte/Stockbyte/Getty Images)

When your spreadsheet contains a large amount of data that can be categorised into broad groups, you can use the subtotal feature of's Calc application to analyse your data. The subtotals feature breaks your data into logical groups -- such as sales to a particular company -- and calculates subtotals for each subset of data. Subtotals allow you to quickly analyse large sets of data for specific information without having to perform tedious sorts and filters to collect a subset of information.

Skill level:

Things you need

Show MoreHide


  1. 1

    Open the spreadsheet you want to calculate subtotals for in Calc. Calc handles all spreadsheet and data table functions in

  2. 2

    Verify that all the columns in your spreadsheet have column headers. Without headers, the subtotal function cannot determine how to divide the data contained in the spreadsheet.

  3. 3

    Highlight the data you want to subtotal. Make sure to select the column headers when choosing your data set.

  4. 4

    Select "Subtotals" from the "Data" menu to open the "Subtotals" dialogue.

  5. 5

    Choose a column header from the "Group By" drop-down list to specify how the Subtotal function should group your data. For example, if you want to determine how many widgets you've sold to each of your customers, you would select the "Customers" column from the "Group By" list to sort your data into groups by customer.

  6. 6

    Check the boxes next to the columns you want subtotalled in the "Calculate Subtotals For" menu list. For example, if you want to determine how many widgets you sold to each of your customers, you would check the "Widgets Sold" option in "Calculate Subtotals For." You can check and calculate subtotals for multiple columns.

  7. 7

    Tell Calc how to calculate your subtotals by choosing a function from the "Use Function" menu for each column selected in step 6. For example, you would choose the "Sum" function to calculate the total number of "Widgets Sold" to each customer.

  8. 8

    Click "OK" to apply the calculations. Calc will analyse your data and present you with a subtotalled spreadsheet.

Tips and warnings

  • You can create up to three groups of subtotals on a single spreadsheet. Create multiple subtotal groups when you can divide your data in two or more meaningful ways, such as by "Customer" or by "Product Type."

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.