✍️ Excel summary examples

SUBTOTAL Examples in Excel

Learn SUBTOTAL examples for filtered lists, visible rows and summary reports.

Updated 2026-06-125 practical examplesCopy-ready

What it does

SUBTOTAL calculates summaries that can ignore filtered rows.

Syntax or pattern

=SUBTOTAL(function_num, ref1, [ref2], ...)

5 practical examples

1

Sum visible rows

Sum only rows visible after filtering.

=SUBTOTAL(109,Sales[Amount])

109 sums visible values.

2

Count visible rows

Count visible numeric values.

=SUBTOTAL(102,B2:B100)

Useful with filters.

3

Average visible rows

Average filtered results.

=SUBTOTAL(101,Sales[Amount])

Changes as filters change.

4

Find max visible value

Return maximum among visible rows.

=SUBTOTAL(104,B2:B100)

Good for filtered reports.

5

Use in a table total row

Add a dynamic total at the bottom of a table.

=SUBTOTAL(109,[Amount])

Excel Tables often use this pattern.

Common mistakes to avoid

  • Selecting ranges with different sizes.
  • Using text values where numbers are required.
  • Forgetting how blanks and hidden rows are treated.

Related Excel examples

FAQ

Can this formula use Excel Tables?

Yes. Structured references often make summary formulas easier to read.

💡 Useful resources

Here are some ideas for you

Optional resources that may help if you are learning formulas, building reports, or working in spreadsheets often.

  • 📘
    Excel formula books

    Practice formulas with structured examples you can keep beside your desk.

    See ideas
  • ⌨️
    Excel shortcut guides

    Build speed with keyboard shortcuts for selection, formatting and navigation.

    See ideas
  • 🔢
    Numeric keypads

    Helpful if you enter many numbers on a laptop or compact keyboard.

    See ideas
  • 🖥️
    External monitors

    Useful for viewing large worksheets, formulas and reference tables side by side.

    See ideas
  • 📒
    Desk notebooks

    Sketch formula logic, report ideas and table structures before building.

    See ideas
  • 💻
    Laptop stands

    Make long spreadsheet sessions more comfortable and ergonomic.

    See ideas

Some links in this section may be affiliate links. Choose only what is useful for your own work.