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. Drop-down lists

Drop-down list practice: validate typed regions against a list

  • Fortgeschrittene
  • ~7 Min.
  • Drop-down lists

Übungstext auf Englisch

Six sales reps typed the region of 100 new leads by hand into C2:C101. The approved regions — 8 of them — are on the Lists sheet in A2:A9. Some entries are typos ("Nort East", "Midwest.", "Mountains"), some name a region that is not on the list, 2 are empty, and 6 are correct names in another letter case ("southwest"). Before the column gets a drop-down list, the sales manager wants to know which existing entries the list would reject — and how many there are.

Ihre Aufgabe

  1. 1Click F2 and type =COUNTIF(Lists!$A$2:$A$9,C2)>0 — select the list on the Lists tab and press F4 (Windows) or ⌘T (Mac) to lock it. COUNTIF counts how often C2 appears in the list; >0 turns that into TRUE or FALSE.
  2. 2Press Enter and fill F2 down to F101: double-click the fill handle, or select F2:F101 and press Ctrl+D (Windows) / ⌘D (Mac). A different letter case still gives TRUE (a drop-down list ignores case too); typos, unlisted regions and empty cells give FALSE.
  3. 3Click I2 and count the rejects: =COUNTIF(F2:F101,FALSE).
  4. 4Now create the drop-down: select C2:C101, then Data → Data Validation (Windows keyboard: Alt, A, V, V; on Mac Data → Data Validation). Allow: List; Source: =Lists!$A$2:$A$9; clear "Ignore blank" so an empty region counts as an error; OK. The checker grades column F and I2 — the drop-down is what you leave behind so the next lead is picked, not typed.
  5. 5Fix a typo in column C (pick the right region from the new drop-down) and watch its row in F turn TRUE and I2 go down by one. Undo with Ctrl+Z / ⌘Z before you check.

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üftIn F2, return TRUE when the region in C2 appears in the list on Lists!A2:A9 (letter case does not matter) and FALSE when it does not — typos, unlisted regions and empty cells — then fill down to F101.
  2. Nicht geprüftIn I2, count the entries in column C that the drop-down list would reject.

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 108 Zeilen auf 2 Tabellenblättern, 2 Antwortzellen, etwa 7 Minuten. Bewertet in Ihrem Browser: der Wert und die Formel dahinter, mit Feedback, das die Korrektur benennt.

So lösen Sie die Aufgabe

  • F2=COUNTIF(Lists!$A$2:$A$9,C2)>0
  • I2=COUNTIF(F2:F101,FALSE)

A drop-down list is a data-validation rule of the type List: a cell may only hold one of the values in the source range. Before adding it to a column that already has data, you check which entries would break the rule — exactly what COUNTIF(list, C2)>0 does row by row. COUNTIF compares like the drop-down does: letter case is ignored, but every other character counts, so "Nort East" and "Midwest." are rejected while "southwest" passes. Locking the list with $ keeps every row pointing at Lists!A2:A9 when you fill down, and COUNTIF(F2:F101,FALSE) counts the rows to fix.

Pitfall 1: hard-coding the regions — =OR(C2="Northeast",C2="Mid-Atlantic",…) or a typed source "Northeast,Mid-Atlantic,…" in the validation dialog — works today and breaks the day a region is added or renamed; a source range on its own sheet (or a named range or table column) keeps one master list. Pitfall 2: data validation only checks new typing; values that were already in the column, or pasted over it, stay as they are, which is why the helper column (or Circle Invalid Data in desktop Excel) is the audit step. Pitfall 3: "Ignore blank" is ticked by default, so an empty cell passes validation; clear it when the field is mandatory — and note that COUNTIF with an empty C2 finds nothing, so the helper already treats an empty region as invalid. Alternatives: =ISNUMBER(MATCH(C2,Lists!$A$2:$A$9,0)) and =OR(C2=Lists!$A$2:$A$9) give the same TRUE/FALSE (MATCH and = also ignore case); =SUMPRODUCT(--(COUNTIF(Lists!$A$2:$A$9,C2:C101)=0)) counts the rejects in one cell without the helper column; in Excel 365, =FILTER(A2:C101,F2:F101=FALSE) lists them. Version note: in Excel 365 the source can also be a spilled list (=H2# under a =SORT(UNIQUE(...)) of the regions); a table column needs a named range or =INDIRECT("Table1[Region]"), because the dialog does not accept structured references; a source on another sheet works in every version since Excel 2010.

Andere Wege, die funktionieren

  • =ISNUMBER(MATCH(C2,Lists!$A$2:$A$9,0)) — MATCH finds the position or returns #N/A; ISNUMBER turns that into TRUE/FALSE
  • =OR(C2=Lists!$A$2:$A$9) — compares C2 with every list entry at once
  • =SUMPRODUCT(--(COUNTIF(Lists!$A$2:$A$9,C2:C101)=0)) — the reject count in one cell, without the helper column
  • =COUNTIF(F2:F101,FALSE) — the count used in the solution; =ROWS(FILTER(C2:C101,F2:F101=FALSE)) is the 365 equivalent

Häufige Fehler

Leaving the list unlocked: =COUNTIF(Lists!A2:A9,C2)>0 filled down slides to Lists!A3:A10, A4:A11… so rows further down stop seeing the first regions and valid entries turn FALSE.

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 16. November 2026 in unserem Bewertungssystem geprüft. Verfasst von GridBelt team.

In diesen Programmen

  • Excel for Administrative AssistantsTag 10
  • Learn Excel From ScratchTag 13

Ähnliche Übungen

  • Restrict quantity to whole numbers 1–100Fortgeschrittene, ~7 Min.
  • List unique customers (UNIQUE) — remove duplicatesFortgeschrittene, ~8 Min.
  • Highlight overdue invoices (conditional formatting)Fortgeschrittene, ~8 Min.

Funktionsreferenz

Offizielle Dokumentation

Nächste Übung

Restrict quantity to whole numbers 1–100