Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Mastering IF Logical Tests and Relational Operators in Excel | Advanced Excel Formulas and Functions
Excel for Complete Beginners with Grids
Section 4. Chapter 2

Mastering IF Logical Tests and Relational Operators in Excel

Swipe to show menu

Understanding the IF function and relational operators is essential for automating decision-making processes within your spreadsheets.

Key Points

  • Structure the IF function using =IF(logical_test, value_if_true, value_if_false);
  • Use relational operators like =, <>, >, <, >=, and <= to compare values;
  • Incorporate text conditions in the IF function by using quotation marks around text values.
Task

Swipe to start coding

  1. Select B20 → type =IF(F6>=G6,"Target Met","Target Not Met") → press Enter → drag the fill handle down to B26.
  2. Select B32 → type =IF(B20="Target Met","20%","0%") → press Enter → drag the fill handle down to B38.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 2

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt