Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Excel Frequency Function Example
  • Conditional Formatting Data bars Examples in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • Excel Line Chart
  • Excel Bar Chart

References

  • How to use Excel INDIRECT Function
  • How to get last row in text data in Excel
  • How to get first row number in range in Excel
  • How to get last row in numeric data in Excel
  • Count unique text values with criteria

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation only dates between
  • Excel Data validation unique values only
  • Excel Data validation whole percentage only
  • Excel Data validation must not contain

IF, AND, OR and NOT Functions Examples in Excel

by

Learn how to use Excel’s logical functions such as the IF, AND, OR and NOT function.

If

The IF function checks whether a condition is met, and returns one value if true and another value if false.

1. For example, take a look at the IF function in cell C2 below.

Above Case Study Explanation: if the score is greater than or equal to 60, the IF function returns Pass, else it returns Fail. Visit our page about the IF function for many more examples.

And

The AND Function returns TRUE if all conditions are true and returns FALSE if any of the conditions are false.

1. For example, take a look at the AND function in cell D2 below.

Above Case Study Explanation: the AND function returns TRUE if the first score is greater than or equal to 60 and the second score is greater than or equal to 90, else it returns FALSE.

Or

The OR function returns TRUE if any of the conditions are TRUE and returns FALSE if all conditions are false.

1. For example, take a look at the OR function in cell D2 below.

Above Case Study Explanation:the OR function returns TRUE if at least one score is greater than or equal to 60, else it returns FALSE. Visit our page about the OR function for many more examples.

Not

The NOT function changes TRUE to FALSE, and FALSE to TRUE.

1. For example, take a look at the NOT function in cell D2 below.

Above Case Study Explanation: in this example, the NOT function reverses the result of the OR function (see previous example).

Post navigation

Previous Post:

TRUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Pie Chart

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use IFS function in Excel
  • Return blank if in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • FALSE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to get same date next month or previous month in Excel
  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation
  • Get project midpoint in Excel
  • Add decimal hours to time in Excel
  • Get days between dates in Excel

Grouping

  • Categorize text with keywords in Excel
  • If cell contains one of many things in Excel
  • How to randomly assign people to groups in Excel
  • Calculate conditional mode with criteria in Excel
  • Group arbitrary text values in Excel

General

  • Basic error trapping example in Excel
  • Count cells that contain errors in Excel
  • How to increase by percentage in Excel
  • Check if multiple cells have same value in Excel
  • How to calculate percent of students absent in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning