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

Data Analysis

  • How to create Checklist in Excel
  • How to calculate current stock or inventory in Excel
  • How To Remove Duplicates In Excel Column Or Row?
  • How to calculate correlation coefficient Correlation in Excel
  • Get column index in Excel Table

References

  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel LOOKUP Function
  • How to use Excel TRANSPOSE Function
  • To count total rows in a range in Excel
  • How to use Excel INDIRECT Function

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation date in next 30 days
  • Excel Data validation don’t exceed total
  • Excel Data validation date in specific year
  • Excel Data validation specific characters 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

  • AND function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function
  • Excel If, Nested If, And/Or Criteria Examples
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert Excel time to decimal seconds
  • Calculate expiration date in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • Convert date to month and year in Excel
  • Display Days in month in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group arbitrary text values in Excel
  • Group numbers at uneven intervals in Excel
  • Map inputs to arbitrary values in Excel
  • How to randomly assign data to groups in Excel

General

  • How to generate random date between two dates in Excel
  • How to calculate percent of students absent in Excel
  • How to calculate percent variance in Excel
  • Count cells less than in Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning