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

Data Analysis

  • Excel Frequency Function Example
  • Remove Duplicates Example in Excel
  • Excel Bar Chart
  • Conditional Formatting Data bars Examples in Excel
  • Filter Data Based on Date in Excel

References

  • How to get first row number in range in Excel
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel ROW Function
  • How to get last column number in range in Excel
  • Approximate match with multiple criteria in Excel

Data Validations

  • Data validation must not exist in list
  • Excel Data validation date in next 30 days
  • Excel Data validation unique values only
  • Prevent invalid data entering in specific cells
  • Excel Data validation must not contain

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

  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function
  • Check multiple cells are equal in Excel
  • How to use Excel FALSE Function
  • How to use Excel XOR Function

Date Time

  • DATE function: Description, Usage, Syntax, Examples and Explanation
  • Sum race time splits in Excel
  • How to join date and text together in Excel
  • Assign points based on late time in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group times into unequal buckets in Excel
  • Map inputs to arbitrary values in Excel
  • Group numbers at uneven intervals in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel

General

  • How to count total number of cells in a rectangular range in Excel
  • Convert column letter to number in Excel
  • 231 Keyboard Shortcut Keys In Excel
  • Hide and Unhide Columns or Rows in Excel
  • Share Excel data with Word documents
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning