Zum Inhalt springen
GridBelt
  • Excel-Test
  • Übungen
  • Programme
  • Preise
Anmelden
Kostenlosen Test starten
  • Excel-Test
  • Übungen
  • Programme
  • Preise
AnmeldenKonto erstellen
Kostenlosen Test starten
GridBelt

Excel üben – direkt im Browser.

Excel-Test

  • Stufe 1: Anfänger
  • Stufe 2: Fortgeschrittene
  • Stufe 3: Experten
  • Excel-Test in 7 Tagen
  • Bestenliste
  • Excel-Test im Bewerbungsverfahren
  • Excel-Test von Indeed

Übungen

  • Alle Übungen
  • Programme
  • Für Anfänger

Ratgeber

  • Excel-Formeln
  • Excel-Tastenkombinationen

Unternehmen

  • Über uns
  • Preise
  • So bewerten wir

© GridBelt. Alle Rechte vorbehalten.

  • Datenschutzerklärung
  • Nutzungsbedingungen
  • Rückerstattungsrichtlinie

Excel ist eine Marke der Microsoft Corporation. Indeed, TestGorilla, SHL und andere Marken sind Eigentum ihrer jeweiligen Inhaber. GridBelt ist eine unabhängige Übungsplattform, steht mit Microsoft, TestGorilla, SHL oder Indeed in keiner Verbindung und wird von keinem dieser Unternehmen unterstützt oder gesponsert.

  1. Übungen
  2. /
  3. Sort and filter

Filter and SUBTOTAL practice: count and total the visible orders

  • Anfänger
  • ~6 Min.
  • Sort and filter

Übungstext auf Englisch

The order log for August–October 2026 holds 200 orders from five regions in A4:G204. The West regional manager wants to see only her orders and know how many there are and how much they are worth — and those two numbers must change whenever the filter changes. COUNT and SUM ignore filters; SUBTOTAL does not. The summary cells B1 and B2 sit above the table so they stay visible while rows are hidden.

Ihre Aufgabe

  1. 1Click any cell in the caption row (for example A4) and turn on the filter: Data → Filter, or Ctrl+Shift+L (Windows) / ⌘+Shift+F (Mac). Drop-down arrows appear on row 4.
  2. 2Open the Region drop-down (C4), untick Select All, tick West only and confirm. The row numbers turn blue and skip the hidden rows.
  3. 3In B1 write =SUBTOTAL(103,A5:A204) — function number 103 is COUNTA for visible cells only, so it counts the orders that are showing.
  4. 4In B2 write =SUBTOTAL(109,G5:G204) — 109 is SUM for visible cells. Change the filter to another region and watch both numbers follow.

Antwortzellen

Feedback

Geben Sie Ihre Formel in die Tabelle ein, drücken Sie Enter und dann „Prüfen“. Wir bewerten den Wert in jeder Antwortzelle und die Formel dahinter.

Aufgaben

  1. Nicht geprüftTurn on the filter for the order table A4:G204 and show only the West region.
  2. Nicht geprüftIn B1, use SUBTOTAL to count the visible orders in A5:A204 (with the West filter applied the result is the number of West orders).
  3. Nicht geprüftIn B2, use SUBTOTAL to add up the visible amounts in G5:G204.

Für Tabellenaufgaben empfehlen wir einen Computer. Die Tabelle scrollt innerhalb dieses Rahmens.

StartInsertFormulasDataView
A1fxIhre Arbeitsmappe wird vorbereitet…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Geben Sie Ihre Formel in die Tabelle ein und prüfen Sie dann.

Über diese Übung

Ein Datensatz mit 203 Zeilen auf einem Tabellenblatt, 2 Antwortzellen, etwa 6 Minuten. Bewertet in Ihrem Browser: der Wert und die Formel dahinter, mit Feedback, das die Korrektur benennt.

So lösen Sie die Aufgabe

  • B1=SUBTOTAL(103,A5:A204)
  • B2=SUBTOTAL(109,G5:G204)

AutoFilter hides the rows that do not match, but hidden rows are still part of the sheet, so COUNT and SUM keep including them. SUBTOTAL is the function built for filtered lists: its first argument chooses the operation (103 = count non-empty, 109 = sum) and it skips every row the filter has hidden, so B1 shows 41 and B2 the West total instead of the figures for all 200 orders. Change the filter to another region and both cells update on their own.

Pitfall 1: SUBTOTAL(3,…) versus SUBTOTAL(103,…): the 1–11 codes ignore rows hidden by a filter but still count rows you hid manually; 101–111 ignore both. On a filtered list they agree, which is why either is accepted here. Pitfall 2: putting the SUBTOTAL cells inside or directly beneath the table — they get hidden by the filter or dragged into the sorted range. Keep summary cells above the headers or in a separate column block. Pitfall 3: nested SUBTOTALs are ignored by an outer SUBTOTAL (by design), so a grand total over sub-totals does not double count — useful for grouped reports. Alternatives: AGGREGATE(3,5,range) does the same with finer control over errors and hidden rows; the status bar shows Count and Sum of the selection for a quick check; for a permanent per-region report use COUNTIF/SUMIF instead of a filter (see the Logic track). Shortcuts: Ctrl+Shift+L (Windows) toggles the filter, ⌘+Shift+F on Mac; Alt+↓ on a caption opens its drop-down.

Andere Wege, die funktionieren

  • =SUBTOTAL(3,A5:A204) and =SUBTOTAL(9,G5:G204) — the 1–11 series; identical on a filtered list
  • =AGGREGATE(3,5,A5:A204) and =AGGREGATE(9,5,G5:G204) — option 5 ignores hidden rows
  • =SUBTOTAL(102,F5:F204) — COUNT on the numeric Qty column gives the same count as 103 on Order ID

Häufige Fehler

Writing =COUNTA(A5:A204) or =SUM(G5:G204): both still return the figures for all 200 orders, because filtering hides rows without removing them. Only SUBTOTAL (or AGGREGATE) skips hidden rows.

So bewerten wir

Jede Formel, die das richtige Ergebnis liefert, wird akzeptiert, außer die Aufgabe nennt eine Funktion: Dann bringt eine andere Funktion die halbe Punktzahl. Wir vergleichen Werte mit einer kleinen Toleranz und ignorieren bei Text Groß- und Kleinschreibung sowie Leerzeichen. Eine richtige Zahl, die statt einer Formel von Hand eingetippt wurde, bringt die halbe Punktzahl. Aufgaben mit mehreren Zellen bringen die volle Punktzahl, wenn 100% der Zellen stimmen, und die halbe ab 50%. Wo es darauf ankommt, ändern wir außerdem eine Eingabezelle in einer Kopie Ihrer Tabelle und prüfen, ob Ihre Formel mitzieht.

Antworten nach den Regeln von Excel 365 berechnet und am 15. November 2026 in unserem Bewertungssystem geprüft. Verfasst von GridBelt team.

In diesen Programmen

  • Excel test in 7 days, Plan für Stufe 1Tag 4
  • Excel for Administrative AssistantsTag 2
  • Learn Excel From ScratchTag 1

Ähnliche Übungen

  • Sort by Region, then Sales descendingAnfänger, ~4 Min.
  • Count orders, names and blanks (COUNT, COUNTA, COUNTBLANK)Anfänger, ~4 Min.
  • Total revenue with SUMAnfänger, ~3 Min.
  • Freeze the header row of a long exportAnfänger, ~3 Min.

Funktionsreferenz

Offizielle Dokumentation

Nächste Übung

Pass or Fail with IF