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

Data Analysis

  • Understanding Pivot Tables in Excel
  • Working With Tables in Excel
  • How To Remove Duplicates In Excel Column Or Row?
  • How to Create Gantt Chart in Excel
  • Excel Frequency Function Example

References

  • Offset in Excel
  • Merge tables with VLOOKUP in Excel
  • How to get last column number in range in Excel
  • Basic INDEX MATCH approximate in Excel
  • How to retrieve first match between two ranges in Excel

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation must contain specific text
  • Excel Data validation allow weekday only
  • Excel Data validation date in next 30 days
  • Excel Data validation exists in list

How to use Excel OR Function

by

This Excel tutorial explains how to use the  OR function with syntax and examples.

Excel OR Function Description

The Excel OR function tests a number of supplied conditions and  returns TRUE if any of the conditions are TRUE. Otherwise, it returns FALSE.

That is;

  • TRUE if ANY of the conditions evaluate to TRUE

or

  • FALSE otherwise (i.e. if ALL of the conditions evaluate to FALSE).

Excel Or Function Examples

The following spreadsheet shows three examples of the Excel Or function.

Explanation: Based on the above examples, the OR function returns;

  • the function in cell C1 evaluates to TRUE, as BOTH of the supplied conditions are TRUE;
  • the function in cell C2 evaluates to TRUE, as the first condition, A2>0 evaluates to TRUE;
  • the function in cell C3 evaluates to FALSE, as ALL of the supplied conditions are FALSE.

Syntax

The syntax for the OR function

OR( logical_test1, logical_test2, ... logical_testn )

Arguments

logical_test1
A condition to test that can either be TRUE or FALSE.
logical_test1, ... logical_test_n
Optional. Conditions to test that can either be TRUE or FALSE. There can be up to 30 conditions.

Returns

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

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

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 Excel FALSE Function
  • How to return blank in place of #DIV/0! error in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel TRUE Function
  • FALSE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate future date say 6 months ahead in Excel
  • Count holidays between two dates in Excel
  • Calculate retirement date in Excel
  • YEAR function: Description, Usage, Syntax, Examples and Explanation
  • Excel Date & Time Functions Example

Grouping

  • Group times into 3 hour buckets in Excel
  • Group numbers with VLOOKUP in Excel
  • How to randomly assign people to groups in Excel
  • How to randomly assign data to groups in Excel
  • Map inputs to arbitrary values in Excel

General

  • 231 Keyboard Shortcut Keys In Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • Count cells that contain errors in Excel
  • Print Excel Sheet In Landscape Or Portrait
  • How to make excel worksheets print on one page?
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning