Skip to content
Reading settings
ExcelIntermediate~25 min practiceLesson 14 of 34

Filter a list and calculate visible totals

Show a subset of requests and calculate the visible total.

Content reviewed · How we check lessons

Loading your progress…

In this lesson

Filter by team and amount, compare SUBTOTAL with SUM and restore the full list.

Example

Support requests above 50

Enter ID, Team and Amount in A1:C6: R01 Support 40, R02 Sales 80, R03 Support 60, R04 Sales 20 and R05 Support 90. Find Support requests above 50. The full list totals 290; only two records meet both conditions.

How it works

A filter hides rows that do not match; it leaves their data in place. Conditions in different columns combine: a row must have Team = Support and Amount > 50 to stay visible.

SUM covers all cells in its range, including filtered-out rows. SUBTOTAL with function number 109 sums visible rows. Label the two totals so readers know which view each describes.

Steps

  1. Enter the list and put =SUM(C2:C6) in a labeled cell outside it. Check the full-source total of 290.

  2. Select A1:C6 and choose Data > Filter, or convert the range to a table. Open the Team dropdown and keep only Support.

  3. Open the Amount dropdown and choose Number Filters > Greater Than. Enter 50. The remaining IDs should be R03 and R05.

  4. Enter the formula below in a separate cell labeled Visible total. It should show 150 while the SUM total stays 290.

    Excel argument separator
    =SUBTOTAL(109,C2:C6)

    English function names. Formula settings →

  5. Check the row numbers and filter icons. Note the visible IDs R03 and R05 in your practice notes, together with the two conditions.

  6. Use Data > Clear or the individual dropdowns to clear both filters. Count five records again and check that SUBTOTAL now shows 290.

Try it yourself

  1. Apply Team equals Sales and Amount greater than or equal to 50. Predict the visible ID, its amount and both totals before checking the result.
  2. Change R04 from 20 to 100 on a training copy. Reapply the filter if needed and explain why edited values may require a refresh of the existing filter view.
Show expected result
  • The initial Support-above-50 view contains R03 60 and R05 90, with visible subtotal 150 and full-source sum 290.
  • The Sales-at-least-50 view initially contains R02 80. After R04 changes to 100 and the filter is reapplied, the visible subtotal is 180 and full sum is 370.

If something goes wrong

The visible total differs from the SUM total.
Check the active filters. In this example, 150 describes the Support-above-50 subset while 290 covers the full list. Label both scopes.
A row stays hidden after its amount is changed.
Reapply the filter. Check that the amount is numeric and that another column’s filter is not excluding the row.

Quick check

Try these questions after the exercise. Check the result in your app before marking the lesson complete.

1. Which records meet Support and Amount greater than 50?
2. Do excluded filter rows disappear permanently?
3. What is the initial visible subtotal for the intended subset?

Choose an answer for all 3 questions to check your understanding.

Optional: try it with Copilot

If you have Copilot, try this after the exercise. Keep the original file and compare its suggestions with your own result.

List the requests matching Support and Amount > 50. Calculate the full and visible totals separately, then give the steps to clear the filters.

More from Microsoft

These Microsoft guides cover the tools used in this lesson.

Loading your progress…