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

Data Analysis

  • How to Create One and Two Variable Data Tables in Excel
  • How To Compare Two Lists in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • How to create dynamic reference table name in Excel
  • How to Create Column Chart in Excel

References

  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • How to use Excel COLUMN Function
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • To count total rows in a range in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation allow uppercase only
  • Excel Data validation must not contain
  • Excel Data validation number multiple 100
  • Excel Data validation unique values 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

  • Extract multiple matches into separate rows in Excel
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • Complete List of Excel Logical Functions, References and Examples
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • Get work hours between dates custom schedule in Excel
  • Next biweekly payday from date in Excel
  • Get day name from date in Excel
  • Get project end date in Excel
  • Calculate total hours that fall between two times in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel
  • Map text to numbers in Excel
  • Group times into 3 hour buckets in Excel
  • Map inputs to arbitrary values in Excel

General

  • How to calculate percent of students absent in Excel
  • Count cells that do not contain many strings in Excel
  • How to Create Calendar in Excel
  • Subtotal by invoice number in Excel
  • Sum by group in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning