ExcelFormulas logoExcelFormulas.
KI Fragen
LogikQA-geprüft

WENN (IF).

Überprüft, ob eine Bedingung erfüllt ist, und gibt einen Wert bei WAHR und einen anderen bei FALSCH zurück.

Logik
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Funktionsweise im Detail.

WENN ist eine zentrale Formel in Excel. Überprüft, ob eine Bedingung erfüllt ist, und gibt einen Wert bei WAHR und einen anderen bei FALSCH zurück. Sie optimiert Ihre Tabellenkalkulationen, automatisiert Routineabfragen und sorgt für fehlerfreie Auswertungen in modernen Tabellen.

💡 Einfach erklärt.

Checks whether a condition is true or false. If true, it outputs one value; if false, it outputs another.

Alltagsvergleich

"Think of this like a referee checking a score: IF the score is 70 or higher, they shout "Pass!"; otherwise, they shout "Fail!"."

Syntax.

Standardmäßige Excel-Schreibweise
=WENN(Prüfung; [Dann_Wert]; [Sonst_Wert])
Tipp: Parameter in eckigen Klammern [wie_dieser] sind optional, alle übrigen müssen angegeben werden.

Argumente.

Alle von dieser Funktion akzeptierten Parameter im Überblick.

logical_testErforderlich

A condition that can be evaluated to TRUE or FALSE.

Beispiel: C2>=70
value_if_trueErforderlich

The value to return if logical_test evaluates to TRUE.

Beispiel: "Pass"
value_if_falseOptional

The value to return if logical_test evaluates to FALSE.

Standard: "Fail"

Praxisbeispiel.

Schritt-für-Schritt-Szenario

Pass/Fail Grade Check

Label student results as "Pass" if their score is 70 or above, otherwise "Fail".

StudentSubjectScoreStatusPass Threshold
SophiaMath85—70
JacksonMath62——
LucasMath74——
Eingesetzte Formel
=IF(C2>=70, "Pass", "Fail")
Erwartetes Ergebnis::Pass

Evaluates IF over the sample table cells, placing the verified output in cell D2:D6.

Passen Sie die Eingabefelder an, um eine fertige Formel für Ihre Tabelle zu kopieren.

Generated FormulaKopierbereit

Ergebniseigenschaften.

Returns "Pass" based on sample evaluation criteria and active cell references.

Ausgabebeispiel::Pass
Datentyp::Text

Empfohlene Vorgehensweise

  • You can nest multiple IF statements inside each other to handle more than two outcomes, although the IFS function is now preferred.
  • To leave a cell blank on FALSE, use empty quotes: "" as the value_if_false.

Typische Fehlerquellen

  • Avoid nesting more than 3-4 IF functions, as they become extremely hard to debug and maintain. Consider using IFS or VLOOKUP/XLOOKUP tables.
Kompatibilitätsmatrix

Kompatibilität nach Versionen.

Geprüft auf Basis der offiziellen Tabellenkalkulations-Engines von Microsoft und Google.

Excel✓
Unterstützt
Excel 365✓
Unterstützt
Excel 2021✓
Unterstützt
Excel 2019✓
Unterstützt
Google Sheets✓
Unterstützt
Excel-Versionsverfügbarkeit

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Hinweise zu Google Tabellen

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Häufig gestellte Fragen.

Technische Q&A
How many IF statements can be nested in modern Excel?↓

Modern Excel allows up to 64 nested IF statements, but using IFS, SWITCH, or XLOOKUP is strongly recommended for readability and performance.

How do I check multiple conditions inside an IF statement?↓

Combine IF with logical functions AND or OR, for example: =IF(AND(A2>50, B2="Approved"), "Qualify", "Disqualify").