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.
"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])Argumente.
Alle von dieser Funktion akzeptierten Parameter im Überblick.
A condition that can be evaluated to TRUE or FALSE.
Beispiel:C2>=70The value to return if logical_test evaluates to TRUE.
Beispiel:"Pass"The value to return if logical_test evaluates to FALSE.
Standard: "Fail"Praxisbeispiel.
Schritt-für-Schritt-SzenarioPass/Fail Grade Check
Label student results as "Pass" if their score is 70 or above, otherwise "Fail".
| Student | Subject | Score | Status | Pass Threshold |
|---|---|---|---|---|
| Sophia | Math | 85 | — | 70 |
| Jackson | Math | 62 | — | — |
| Lucas | Math | 74 | — | — |
=IF(C2>=70, "Pass", "Fail")Evaluates IF over the sample table cells, placing the verified output in cell D2:D6.
Formel-Generator.
Vollständigen Assistenten öffnenPassen Sie die Eingabefelder an, um eine fertige Formel für Ihre Tabelle zu kopieren.
=WENN()Ergebniseigenschaften.
Returns "Pass" based on sample evaluation criteria and active cell references.
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ät nach Versionen.
Geprüft auf Basis der offiziellen Tabellenkalkulations-Engines von Microsoft und Google.
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.
100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.
Häufig gestellte Fragen.
Technische Q&AHow 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").