What should I do to count total values only from visible cells in filtered table in Excel ? When I apply the filter I see total values of all the cells, not only the visible ones.

Hi,

To count the total values only from visible cells in the table, you have to use**SUBTOTAL function** instead of COUNT or SUM function.

In SUBTOTAL function you have to use two arguments. The first argument is used to set a functionality and the second argument is used to define a range of cells.

To count only the filtered values, the formula should look like:

**=SUBTOTAL(2;C2:C15)**

To sum only the filtered values, the formula should look like:

**=SUBTOTAL(9;C2:C15)**

To count the total values only from visible cells in the table, you have to use

In SUBTOTAL function you have to use two arguments. The first argument is used to set a functionality and the second argument is used to define a range of cells.

To count only the filtered values, the formula should look like:

To sum only the filtered values, the formula should look like:

Related questions

## How to add side by side rows in excel pivot table ?

## Is CSV excel file Comma or Semicolon separated / delimited ?

## Check if value exists in column more than once or twice - Excel

## How to show Euro, Dollar or Pound sign on right in Excel ?

## Zero value not showing on Excel chart vertical axis - how to display ?

## Move excel chart horizontal axis to bottom - below negative values

## Create two Charts from one Pivot table - add multiple excel charts

Trending questions

Samsung Galaxy A & F better than M series ? What's the difference ? Is PLS LCD display good ? Difference between PLS LCD and Amoled Remove or hide bottom navigation bar with buttons on Android Man Month calculation - how many man days or man hours ? How to calculate inverse currency exchange rate ? How to add side by side rows in excel pivot table ? ATM withdrawal With or Without conversion - Accept or Decline ?

Samsung Galaxy A & F better than M series ? What's the difference ? Is PLS LCD display good ? Difference between PLS LCD and Amoled Remove or hide bottom navigation bar with buttons on Android Man Month calculation - how many man days or man hours ? How to calculate inverse currency exchange rate ? How to add side by side rows in excel pivot table ? ATM withdrawal With or Without conversion - Accept or Decline ?

2023 AnswerTabsTermsContact us