Blog

# How to Create Subtotals in Excel?

Do you want to learn how to create subtotals in Excel? Subtotals are a great way to quickly summarize data, allowing you to get an overview of your information without having to manually add up the numbers. Knowing how to create subtotals in Excel can be a powerful tool for quickly analyzing data and making decisions. In this article, we’ll cover how to create subtotals in Excel and provide some tips on how to make the most of this useful feature.

# How to Create Subtotals in Excel

## Understanding Subtotals in Excel

In Excel, subtotals are a feature that allow you to quickly and easily add subtotals to a list of values. This feature allows you to quickly summarize data without having to manually calculate each subtotal. Subtotals can be used for a variety of purposes, such as for creating financial reports, sales reports, and other types of summaries.

In order to create a subtotal in Excel, the data must be sorted in the same way that the subtotals should be organized. For example, if you wanted to create subtotals for a list of sales by region, the data would need to be sorted by region first. Then, after sorting the data, you can use the “Subtotal” feature to quickly add subtotals to the list.

Subtotals can also be used to quickly find out the total of a particular column or row. For example, if you wanted to find out the total of sales in a particular region, you could use the subtotal feature to quickly calculate the sum of all the sales in that region.

## Steps to Create Subtotals in Excel

The steps to create a subtotal in Excel are relatively easy and straightforward. First, you will need to sort the data in the same way that you want the subtotals to be organized. Then, click on the “Data” tab in the ribbon and select “Subtotal” from the drop-down menu. This will open the “Subtotal” dialog box.

In the “Subtotal” dialog box, you will need to select the column that you want to subtotal. You can also select the type of subtotal that you want to add. For example, if you want to add a sum subtotal, you can select “Sum” in the “Function” drop-down. Then, click “OK” to generate the subtotals.

## Adding Subtotals to a Pivot Table in Excel

Subtotals can also be added to a pivot table in Excel. To do this, first, create the pivot table and then click on the “Design” tab in the ribbon. In the “Design” tab, select “Subtotals” and then select “Do Not Show Subtotals”. This will remove any existing subtotals from the pivot table.

Next, click on the “Layout” tab in the ribbon and select “Subtotals”. This will open the “Subtotals” dialog box. In the “Subtotals” dialog box, select the column that you want to add subtotals for and select the type of subtotal that you want to add. Then, click “OK” to generate the subtotals in the pivot table.

## Formatting Subtotals in Excel

Once you have created the subtotals in Excel, you can format them to make them easier to read. To do this, click on the subtotal cell and then click on the “Home” tab in the ribbon. In the “Home” tab, select the “Format” drop-down and select “Format Cells”. This will open the “Format Cells” dialog box.

In the “Format Cells” dialog box, select the “Number” tab and then select the type of formatting that you want to use for the subtotal. For example, if you want to display the subtotal in bold, select “Bold”. Then, click “OK” to apply the formatting to the subtotal.

## Creating Subtotals in Excel Using Formulas

In addition to using the “Subtotal” feature in Excel, you can also create subtotals using formulas. To do this, you will need to use the SUMIF function. The SUMIF function will allow you to quickly calculate the sum of values based on a specific criteria. For example, if you wanted to calculate the sum of sales in a particular region, you could use the SUMIF function to quickly calculate the sum.

To use the SUMIF function, first, select the cell where you want the subtotal to be displayed. Then, enter the SUMIF formula and specify the criteria for the subtotal. For example, if you wanted to calculate the sum of sales in a particular region, you would enter the SUMIF formula and specify the region as the criteria. Then, click “Enter” and the subtotal will be displayed in the cell.

### Q1. What is a subtotal in Excel?

A subtotal in Excel is a way of summarizing data within a table or list. It is used to quickly calculate the total of several rows or columns of data in a worksheet. Subtotals can be calculated for numeric values, such as sales figures, as well as for text values, such as customer names. Subtotals are useful for quickly identifying the total of a particular set of data, as well as for analyzing the data and spotting trends or patterns.

### Q2. What are the steps to create subtotals in Excel?

Creating subtotals in Excel is a simple process. First, select the data you want to summarize in the subtotal. Next, open the Data tab and click on the Subtotal command. In the Subtotal dialog box, select the column you want to subtotal and choose the type of subtotal you want to create. You can also add a label for the subtotal. Finally, click OK to create the subtotal.

### Q3. How do you display subtotals in Excel?

Subtotals are displayed in the same way any other cell data is displayed in Excel. The subtotal will appear below the data it is summarizing and will be calculated based on the type of subtotal you chose. You can also use the Group and Outline commands to display the subtotals in a hierarchical format.

### Q4. How do you update subtotals in Excel?

Updating subtotals in Excel is easy. Simply select the data you want to update and click the Subtotal command on the Data tab. In the Subtotal dialog box, select the column you want to subtotal and choose the type of subtotal you want to create. Click OK to update the subtotal.

### Q5. How do you remove subtotals in Excel?

Removing subtotals in Excel is just as easy as creating them. First, select the data you want to remove the subtotal from. Next, open the Data tab and click on the Subtotal command. In the Subtotal dialog box, select the column you want to remove the subtotal from and choose the None option. Finally, click OK to remove the subtotal.

### Q6. How do subtotals work in pivot tables?

Subtotals can also be used in pivot tables in Excel. To add a subtotal to a pivot table, first select the data you want to summarize in the subtotal. Next, open the Analyze tab and click on the Subtotal command. In the Subtotal dialog box, select the column you want to subtotal and choose a type of subtotal. You can also add a label for the subtotal. Finally, click OK to create the subtotal. The subtotal will be displayed in the same way any other cell data is displayed in the pivot table.

Creating subtotals in Excel can be a great way to quickly and easily organize and summarize your data. Microsoft Excel provides a variety of tools and options to help you quickly and easily create subtotals. With a little practice, you’ll be able to create subtotals in Excel in no time. Excel’s subtotals feature is a great way to help you quickly and easily get the most out of your data.

Related Articles