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

Data Analysis

  • How To Insert and Customize Sparklines in Excel
  • How to create running total in an Excel Table
  • How to calculate current stock or inventory in Excel
  • Understanding Anova in Excel
  • Get column index in Excel Table

References

  • Basic INDEX MATCH approximate in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Merge tables with VLOOKUP in Excel
  • Extract all partial matches in Excel
  • Perform case-sensitive Lookup in Excel

Data Validations

  • Data validation must not exist in list
  • How To Create Drop-down List in Excel
  • Excel Data validation require unique number
  • Excel Data validation date in specific year
  • Excel Data validation must not contain

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

  • Check multiple cells are equal in Excel
  • IF with boolean logic in Excel
  • Invoice status with nested if in Excel
  • SWITCH function example in Excel
  • How to use Excel OR Function

Date Time

  • Convert decimal seconds to Excel time
  • Get week number from date in Excel
  • Extract time from a date and time in Excel
  • Convert date to month and year in Excel
  • Pad week numbers with zeros in Excel

Grouping

  • Map text to numbers in Excel
  • Group numbers at uneven intervals in Excel
  • Map inputs to arbitrary values in Excel
  • Group times into unequal buckets in Excel
  • Running count group by n size in Excel

General

  • How to count total number of cells in a rectangular range in Excel
  • Spell Check in Excel
  • How to calculate profit margin percentage in Excel
  • Mark Workbook as Final in Excel
  • How to calculate percentage discount in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning