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

Data Analysis

  • How to create running total in an Excel Table
  • Move chart to a separate worksheet in Excel
  • Use Data Form to input, edit and delete records in Excel
  • Create Scatter Chart in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel

References

  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • How to get relative row numbers in a range in Excel
  • Basic INDEX MATCH approximate in Excel
  • How to use Excel INDIRECT Function
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation allow uppercase only
  • Excel Data validation must contain specific text
  • Excel Data validation allow weekday only
  • Excel Data validation require unique number

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
  • OR function Examples in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel TRUE Function
  • IFNA function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Create date range from two dates in Excel
  • How to get Holiday Date from Year in Excel
  • How to show last updated date stamp in Excel
  • Convert decimal seconds to Excel time
  • Get days, hours, and minutes between dates in Excel

Grouping

  • Running count group by n size in Excel
  • Categorize text with keywords in Excel
  • Group numbers at uneven intervals in Excel
  • How to randomly assign data to groups in Excel
  • If cell contains one of many things in Excel

General

  • Count cells that contain errors in Excel
  • How to password protect excel sheet?
  • With vs Without Array Formula in Excel
  • How to generate random times at specific intervals in Excel
  • How to calculate project complete percentage in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning