## The Definitive Guide to Excel SUBTOTAL Function The Excel SUBTOTAL function allows you to quickly create subtotals, grand totals, and averages in your Excel spreadsheet based on the contents of specific cells or rows. This function makes it very easy to see which parts of your spreadsheet contain the most data. If you’re looking to be more efficient in your work, keep reading to learn about the subtotal function and how you can use it effectively in your next project!

## What is the Excel SUBTOTAL Function?

The Excel SUBTOTAL function is used to summarize the data in a table or range of cells. It is often used when you want to calculate totals, averages, minimums, maximums, etc.

There are two ways to use the Excel SUBTOTAL function. The first way is by entering the function into a cell and then selecting the entire table or range of cells that you want to summarize with this function. The second way is by entering the formula into a cell and then dragging it down across all of your data in order to automatically calculate totals for each column.

The Excel SUBTOTAL Function has many different uses depending on what you are trying to accomplish. It can be used for calculating an average value in a column of numbers, finding the minimum value in a column

## How to Use the Excel SUBTOTAL Function

This guide will show you how to use the SUBTOTAL function in Excel. The SUBTOTAL function is used to calculate the sum of a column of numbers.

We will start by creating a new spreadsheet and naming it “SUBTOTAL”. We need to enter data into Column A so that we can use it in our formula. We will enter “1”, “2”, “3”, and so on up until we get to 20. And then use =SUBTOTAL(9,A1:A5) in cell no 21. Which gives output shown as per below.

## Why do we need to use SUBTOTALS?

The SUBTOTALS command is a good way to generate subtotals. It can automatically add subtotals for all the columns in your spreadsheet. The command also automatically formats the numbers so that they are easy to read.

In a nutshell, the SUBTOTALS command is a very useful tool for creating and formatting subtotals in a spreadsheet.

## Tips for the SUBTOTAL function:

The SUBTOTAL function is a very useful function in Excel. It is used to calculate the subtotal of a column of numbers.

There are two ways to use the SUBTOTAL function:

1) Calculate the subtotal for one column: =SUBTOTAL(9,A1:A5)

2) Calculate the subtotal for more than one column: =SUBTOTAL(9,A1:A5,B1:B5)

## Below are examples of SUBTOTAL

SUBTOTAL is a function in Microsoft Excel that can be used to find the sum of a series of numbers or cells. It can also be used to find the subtotal for a range of cells.

Below are examples of SUBTOTAL in excel:

1) Find the total number of students in an entire row:

=SUBTOTAL(9,A1:A1000)

2) Find the total number of students in an entire column:

=SUBTOTAL(9,B1:B1000)

## SUBTOTAL in Excel Tables

The SUBTOTAL function is used when you display a Total row in an Excel Table. Excel inserts the SUBTOTAL function automatically.

The syntax for the SUBTOTAL function is:

SUBTOTAL(function_num, ref1, ref2…)

### Abhijit

Abhijit currently working with India's No. 1 Ecommerce Company Flipkart. He having 6 years experience in Excel and he is also expertise in various Advance Excel formulas. He awarded by his organization for his outstanding contribution in Analytical Project.