Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Combining AND & OR in Excel | Advanced Excel Formulas and Functions
Excel for Complete Beginners with Grids
Section 4. Chapter 4

Combining AND & OR in Excel

Swipe to show menu

Using the AND and OR allows you to perform more sophisticated logical tests by combining multiple conditions.

Key Points

  • Use the AND function to test if all conditions are met like this: =AND(condition1, condition2,...);
  • Use the OR function to test if at least one condition is met like this: =OR(condition1, condition2, ...).
Task

Swipe to start coding

  1. Select G20 → type =AND(B20="Target Met",F20>95) → press Enter → drag the fill handle down to G26.

  2. Select G20 → type =OR(B20="Target Met",F20>95) → press Enter → drag the fill handle down to G26.

  3. Select F32 → type =IF(OR(B20="Target Met",F20>95),"20%","0%")

    (alternatively =IF(G20,"20%","0%"))

    → press Enter → drag the fill handle down to E38.

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 4

Ask AI

expand

Ask AI

ChatGPT

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

some-alt