Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

#### Post your problem and you’ll get Expert help in seconds.

Your message must be at least 40 characters
Our professional Expert are available now. Your privacy is guaranteed.

# How to Sum Visible Rows in a Filtered List

We can sum only the VISIBLE rows (ROWS NOT FILTERED OUT) in a filtered list with the SUBTOTAL FUNCTION with function number 9 or 109. This function automatically disregards hidden rows in a filtered list or table. The steps below will walk through the process.

Figure 1: How to Sum Visible Rows in a Filtered List

## General Formula

`=SUBTOTAL(9,RANGE)`

## Formula

`=SUBTOTAL(9,C4:C13)`

## Setting up the Data

• We will set up data by inputting items sold in Cell B4 to Cell B13
• The sales amount are in Cell  C4 to Cell C13
• Our result will be returned by the SUBTOTAL function in Cell C14

Figure 2: Setting up the Data

## Creating a Filtered List

Assuming we want to remove sales that are below \$500, we can create a FILTERED LIST like this:

• We will click on Cell C3, we will right click and click on filter. We will click on “filter by cell value.” The result is figure 3

Figure 3: Creating a Filtered List

• We will click on the icon in Cell C3
• A dialog will show up and we can select the values we are interested in. Note, we have to select blank as well for the sake of our result

Figure 4: Filtered List

• We will notice that Cell C6 with \$280 has been automatically hidden

## Using the SUBTOTAL Function

• We will click on Cell C14
• We will input the formula below
`=SUBTOTAL(9,C4:C13)`
• We will press the enter key

Figure 5: Result of the SUBTOTAL function

## Note

• If you want to MANUALLY HIDE ROWS (right-click, HIDE), then use this formula below:
`=SUBTOTAL(109,C4:C13)`
• By changing the function number, the SUBTOTAL function can do many other calculations

## Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

### Did this post not answer your question? Get a solution from connecting with the expert.

Solution examples
I have a project which requires me to calculate lifetime value using pivot tables, sumifs and indexing.
Solved by O. L. in 60 mins
I am trying to write an excel formula so that if I plug a percentage in F12 it will populate the amount needed in E7. F10=B4-E7 F11=B5-E7 F11/F10= F12
Solved by G. H. in 60 mins
I need a formula to separate a date from a date/time column. 2017-04-02 12:06 +0000 to 2017-04-02
Solved by T. D. in 9 mins
Which of the following procedures does not filter a table by the contents of a single column? a. Click on the criterion button on the segment. b. Right-click the cell whose content you want to choose as a criterion and click Filter on the menu. c. Click the Filter button in the Sort and Filter group on the Data tab. d. Click on the Automatic Filter button in the row of totals at the bottom.
Solved by V. E. in 19 mins
I need a formula that if you imput cell Valuein K39:K124 in D40, L39:039 will populate in E40,F40,G40,H40.
Solved by G. B. in 22 mins