How to Sum Filtered Cells in Excel: A Step-by-Step Guide

Learning how to sum filtered cells in Excel can be super helpful when working with large sets of data. If you need to add up numbers but only those that meet certain criteria, Excel’s filter and sum functions are your best friends. It’s a pretty straightforward process that can save you tons of time. Let’s dive in and get those numbers crunched!

Step by Step Tutorial: Summing Filtered Cells in Excel

Before we get into the nitty-gritty, let’s understand what we’re about to do. Following these steps will allow you to sum only the cells that meet specific conditions you set using Excel’s filter function.

Step 1: Apply a Filter to Your Data

First, select the data range you want to filter.

When you apply a filter to your data, you’re essentially telling Excel to only display the rows that meet the criteria you specify. You can filter by numbers, text, or dates.

Step 2: Use the SUBTOTAL Function

Next, in a cell below your data, type in the SUBTOTAL function.

The SUBTOTAL function is what you need when you want to perform operations like summing on filtered data. It’s pretty versatile and can ignore hidden rows in your calculations.

Step 3: Specify the Function Number and Range

In the SUBTOTAL function, use 109 as the function number and select the range you want to sum.

The function number 109 tells Excel you want to sum the numbers, but only the visible ones. Yes, it’s that specific!

Step 4: Press Enter

Finally, hit Enter and let Excel do its magic.

After you press Enter, voilà! You should have the sum of only the filtered cells displayed right below your data.

After completing these steps, you should have a clear understanding of how much your filtered data adds up to. It’s a powerful way to analyze specific subsets of your data without getting overwhelmed by the whole bunch.

Tips for Summing Filtered Cells in Excel

  • Always make sure your data range is correct before applying the filter.
  • Remember to use 109 as your function number in the SUBTOTAL function for summing filtered cells.
  • The SUBTOTAL function can also perform other operations like counting, averaging, etc., by using different function numbers.
  • If you change your filters, the sum will update automatically, reflecting the new visible cells.
  • Practice using this function with different datasets to become more comfortable with it.

Frequently Asked Questions

What if I want to sum cells based on multiple conditions?

You can apply multiple filters to your data before using the SUBTOTAL function to sum the filtered cells.

Can I use the SUM function instead of SUBTOTAL?

No, if you use the SUM function, it will add all cells, including the hidden ones. For filtered data, always use the SUBTOTAL function.

Why is my SUBTOTAL not updating when I change the filter?

Make sure you are using the right function number in the SUBTOTAL function. For summing filtered cells, use 109.

Can I sum filtered cells across different columns?

Yes, you can apply the SUBTOTAL function to each column separately and then sum those results together.

What happens if I filter out all cells?

If all rows are filtered out, the SUBTOTAL function will return 0 since there are no visible cells to sum.


  1. Apply a filter to your data.
  2. Use the SUBTOTAL function.
  3. Specify the function number (109 for sum) and range.
  4. Press Enter.


Summing filtered cells in Excel might sound like a task reserved for the spreadsheet-savvy, but in reality, it’s something anyone can do with a bit of practice. Whether you’re a student, business professional, or just someone who loves organizing data, mastering this skill will make your life so much easier. Remember, the key is to use the SUBTOTAL function with the function number 109. Once you start using this feature, you’ll see how it effortlessly streamlines your data analysis process.

So, the next time you’re faced with a mountain of data and need to extract specific sums, don’t sweat it. Filter, subtotal, and conquer! And who knows, you might just find yourself falling in love with all of Excel’s nifty little tricks. Keep exploring, keep learning, and you’ll be an Excel whiz before you know it!