Start here
How to Use the IF Function in Excel
Learn how the IF function works in Excel, from its three arguments to comparisons, text results, copying formulas and the common mistakes that break them.
Look Up and Decide
Write IF, IFS, SWITCH and conditional formatting rules that depend on a condition.
Start here
Learn how the IF function works in Excel, from its three arguments to comparisons, text results, copying formulas and the common mistakes that break them.
Learn how to check if a cell contains specific text with SEARCH, FIND and ISNUMBER, plus exact matching, checking several words and counting matches.
Learn how to check whether a value falls between two numbers in Excel using AND with IF, with inclusive and exclusive limits, dates and counting matches.
Use an IF formula to handle blank cells in Excel, testing with empty text, ISBLANK, LEN and TRIM, and avoid showing zeros or #VALUE! in results.
See how to use AND and OR inside an IF formula in Excel to test several conditions at once, with examples, a common syntax mistake and blank cell tips.
Learn how to use conditional formatting with a formula in Excel to highlight rows, duplicates and weekend dates, with steps, reference rules and rule order.
Learn how the SWITCH function in Excel matches one value against a list of options, with a worked example, a default result, TRUE for ranges and versions.
Learn how to write nested IF formulas in Excel with a grade example, why test order matters, bracket tips and when another function is simpler.
Compare IFS with nested IF in Excel using the same grade formula, the catch-all test, Excel versions that support IFS and what happens when nothing matches.
Find why an IF formula in Excel returns the wrong result or FALSE, with checks for quotes, text numbers, stray spaces, references and calculation settings.
Related topics