How to Use the Subtotal Function in Excel: Step-By-Step

  • Whatsapp

what is subtotal

You’ll learn basic syntax,practical applications, and advanced techniques to master this essential Excelfunction. Imagine SUBTOTAL function numbers as two different keys to the same door. SUBTOTAL 9 opens up to include both visible and manually hidden rows in its calculation.

Subtotal Feature: Filtering Data with Ease

  • This table breaks down the essential components of the SUBTOTALfunction.
  • Subtotals are commonly used in accounting, bookkeeping, and various financial transactions to ensure clarity of breakdowns in calculations.
  • They also tie many player props to Over/Under markets, giving bettors more ways to build same-game parlays around scoring.
  • Yes, the SUBTOTAL function can be used with filtered data, and it will only consider visible cells, making it perfect for summarizing specific parts of your data.
  • If your dataset has multiple portals needing the touch of subtotal magic, repeat the steps for each.

Let’s say, you want to create a subtotal for Units Sold against the Category column. Excel will automatically update the PivotTable with the relevant subtotals. You can add as many cell ranges as you want, separating those with commas.

what is subtotal

Moreover, you no longer need to apply a filter to make the subtotal value obvious. Excel will automatically create different segments for different categories, add subtotals, and at the end add a grand total as well. The Subtotal tool lets you add subtotals in Excel more intuitively than the manual functions. Also, the final dataset is more detailed compared to the previous methods. By following these steps, you can apply the sum operation based on the product category. You’ll obtain subtotals for each product and a grand total for all products.

what is subtotal

All you need to do is enter the column headers by which you want to create the subtotals table. If you need to extract subtotals from a large dataset that wouldn’t even fit in an Excel worksheet, you must use Power Query. It allows you to load unlimited rows and columns temporarily from an external database server for data transformation and extract concise data into an Excel worksheet. The Excel SUBTOTAL function is a powerful, dynamic tool that simplifies data analysis and summary functions. By mastering its syntax and understanding how to apply it in real-world scenarios, you can significantly improve your data management skills. The table shows data filtered to show only “North” region sales.

You can either use the SUBTOTAL function or the Subtotal feature, whichever works best. If you don’t feel comfortable with the SUBTOTAL function yet, you can use the built-in SUBTOTAL feature and have the formulas inserted for you automatically. In fact, there is no need to memorize all function numbers. As soon as you start typing a Subtotal formula in a cell or in the formula bar, Microsoft Excel will display a list of available function numbers for what is subtotal you. The SUBTOTAL function is a very versatile function that returns a custom subtotal from a range of cells. Had we chosen the function number series 1 – 11, the result wouldn’t have changed to 4 upon manually hiding a row.

In this context, “subtotal” is not just totaling numbers in a defined range of cells. The SUBTOTAL function serves as a summary function that simplifies data analysis by allowing users to quickly calculate totals without affecting filtered data sets. This feature is particularly valuable when working with large datasets where visibility into specific entries is crucial. One of the best uses of the SUBTOTAL formula is when working with filtered data. Suppose you have a long subtotal list of products and you apply a filter to display only items above a certain price point.

How to Insert Subtotals in a List of Data in Excel

  • This table demonstrates SUBTOTAL’s ability to combine different ranges in onecalculation.
  • This formula averages A1 (10) and A3 (30), ignoring hidden A2 (20).
  • It’s a formula, using the SUBTOTAL function, that flexes to your needs and keeps your data analysis sharp and concise.
  • The table demonstrates using SUBTOTAL within a larger calculation.

With that, let’s look into some more examples of the SUBTOTAL function to better understand how it works in Excel. Here we have a list of sales transactions for some products. And we want the sum of sales of Product A on 01 January 2022.

It also allows you to create different views of subtotals using various columns of the input dataset. One thing to note is that you can’t add an Excel table subtotal with this feature. If you have your data in a table, you can either insert the Excel formula for SUBTOTAL as described earlier or convert your table to a cell range to use the feature. If you choose the latter, you’ll lose the table functionality. This is because we want to sum the filtered-out cells + any rows hidden manually. The script I’ve shared below will walk you through the whole process with visual dialog boxes.

SUBTOTAL in Tables

Now suppose I just want to see the total T-shirts lying in the warehouse of different colors, we can click on Level 2. Now, a wider audit of 150,000 women who have had subtotal hysterectomies has been launched. Excel will load your data to the Power Query Editor tool.

Ever spent hours manually adding up rows in Excel, only to realize you missed a few entries or messed up the totals? What if there was a faster, smarter way to summarize your data without the headache? Excel’s Subtotal feature is here to rescue you from endless scrolling and formula errors. SUBTOTAL can calculate averages using function_num 1 or 101. This example showsaverage calculation while ignoring hidden rows.

When you use a Subtotal formula with a summary function like SUM or AVERAGE, it calculates only cells with numbers ignoring blanks and cells containing non-numeric values. The tutorial explains the specificities of the SUBTOTAL function in Excel and shows how to use Subtotal formulas to summarize data in visible cells. As we have selected the function number series 101 – 111, every time we hide a row, it is excluded from the average share price. A subtotal is an intermediate sum in a list of numbers, particularly in itemized statements like invoices, financial statements, or receipts.

The SUBTOTAL function performs calculations like SUM, AVERAGE, COUNT, and more while dynamically adapting to filtered or hidden rows. This makes it a versatile tool for summarizing data in lists or tables. The SUBTOTAL function is a versatile Excel function that performsvarious calculations while ignoring hidden rows. This tutorial provides a comprehensive guide to using theSUBTOTAL function with detailed examples.

Now, select the entire dataset and click on the Subtotal command inside the Outline block of the Data tab. The above dataset is the perfect candidate for applying the Subtotal feature. Before you can apply this tool to a dataset, you must organize the input data appropriately. You must restructure it to group similar items together.

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *