Today's Excel tutorial dives into using the OR function in conjunction with the IF function. We first review the basic IF statements, then explore how to apply the OR operator to evaluate multiple conditions simultaneously. Examples include checking values in different cells and explaining the concept using practical scenarios—demonstrating how combining these functions can simplify complex logic assessments in Excel.

What will you learn

  • Understanding the OR function in Excel.
  • How to combine OR and IF functions.
  • Practical applications and examples of using IF with OR.
  • Evaluating multiple conditions in Excel.
  • Setting up logical tests to return different outcomes based on conditions.
  • Interpreting results when combining multiple logical conditions.

Takeaway notes

  • The OR function checks multiple conditions and returns TRUE if any condition is TRUE.
  • Using the OR function within an IF statement allows complex logical tests.
  • An OR function returns FALSE only when all conditions are FALSE.
  • IF statements can nest within an OR function to add multiple layers of logical testing.
  • Use commas to separate multiple logical conditions in an OR function.
  • Parenthesis and color coding in Excel can help track and close functions appropriately.
  • Practical testing and scenarios include changing cell values to observe results.

Practice questions

  1. Write an IF statement that evaluates whether the value in cell A1 is greater than 10, returning "Yes" if true and "No" if false.
  2. Using the OR function, check if either cell A1>10 OR cell B1<5 is TRUE. What does the function return if A1 is 11 and B1 is 3?
  3. Combine IF and OR to return "Qualified" if A1>10 OR B1<5; otherwise, return "Not Qualified".
  4. Write a function that checks if cell A1 equals 10 OR cell B1 equals 20, and returns "Match Found" if either condition is true.
  5. How do you configure an IF statement to return 1 if both conditions (A1=10 OR B1=20) within an OR function are met?
  6. Create a nested IF function within an OR to check if A1=A2 OR B1=B2, returning "Equal" and "Not Equal" respectively.
  7. Set up a logical test using IF and OR to show "Pass" if a student scored either above 50 in Math (cell A1) or above 60 in Science (B1).
  8. Modify the OR function to test A1>10 OR A1<5 and interpret the result if A1 is 7.
  9. Explain how the result of an OR function is impacted if both conditions tested are false.
  10. Formulate an Excel formula that uses IF and OR to display "Bonus" if sales (A1) > 1000 OR hours worked (B1) > 40.
  11. Construct a formula to check if a cell value (C1) is either "Complete" or "Pending" using the OR function.
  12. Demonstrate using a nested IF function within an OR to return "Accepted" if A1="Yes" OR B1="Approved".
  13. Use IF and OR combined to evaluate if either A1>80 or B1<60 for a result denoting "High Risk".
  14. Explain the difference in outcomes when using OR versus AND within an IF statement.
  15. Create an Excel formula to check if either A1="Red" or B1="Blue" and return "Color Match".

Mark Lesson Complete (Using IF with OR Conditions in Excel)