Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create a Histogram in Excel
  • How to create Gauge Chart in Excel
  • Add Outline to Data in Excel
  • How to Create Area Chart in Excel
  • Conditional Formatting Color Scales Examples in Excel

References

  • How to use Excel ROW Function
  • How to use Excel MMULT Function
  • How to use Excel LOOKUP Function
  • Convert text string to valid reference in Excel using Indirect function
  • How to use Excel MATCH Function

Data Validations

  • Excel Data validation number multiple 100
  • Excel Data validation date in specific year
  • Excel Data validation require unique number
  • Excel Data validation unique values only
  • Excel Data validation allow uppercase only

Count visible rows in a filtered list in Excel

by

This tutorial shows how to Count visible rows in a filtered list in Excel using the example below;

Formula

=SUBTOTAL(3,range)

Explanation

If you want to count the number of visible items in a filtered list, you can use the SUBTOTAL function, which automatically ignores rows that are hidden by a filter.

The SUBTOTAL function can perform calculations like COUNT, SUM, MAX, MIN, and more. (For a full list, see the table here). What makes SUBTOTAL especially interesting and useful is that it automatically ignores items that are not visible in a filtered list or table. This makes it ideal for showing how many items are visible in a list, the subtotal of visible rows, etc.

Following the example in the image above, to count the number of non-blank rows visible when a filter is active, use:

=SUBTOTAL(3,B5:B14)

If you are hiding rows manually (i.e. right-click, Hide), and not using the auto-filter, use this version instead:

=SUBTOTAL(103,B5:B14))

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel NOT Function
  • Nested IF function example in Excel
  • Invoice status with nested if in Excel
  • How to use Excel OR Function
  • IFS function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Display Date is same month in Excel
  • Get days, months, and years between dates in Excel
  • How to get number of days, weeks, months or years between two dates in Excel
  • Count holidays between two dates in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • Group numbers at uneven intervals in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel

General

  • How to calculate percentage discount in Excel
  • How to generate random date between two dates in Excel
  • Freeze and Unfreeze Panes in Excel
  • How to calculate percent change in Excel
  • Advanced Number Formats in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning