Pinterest Pixel

OR Formula in Excel

Bryan
 .

 

What does it do?

Checks if any one of the conditions is satisfied or not

Formula breakdown:

=OR(logical1, [logical2], …)

What it means:

=OR(first condition, [additional conditions], …)


Have a couple of conditions that you need to check for and ensure at least one is met? The OR Formula of Excel enforces this and will return TRUE if any one of your required conditions is met!

Let us give this a try in our examples below, we want to check if the date is in the month of January OR the sales amount is greater than $1000.

I explain how you can do this below:

OR Formula in Excel | MyExcelOnline

Download excel workbookOR-FORMULA.xlsx

STEP 1: We need to enter the OR function in a blank cell:

=OR(

OR Formula in Excel

 

STEP 2: The OR arguments:

logical1

What is the first condition?

Let us create the condition to get the month of the date and check if it is January:

=OR(MONTH(C9)=1,

OR Formula in Excel

[logical2]

What is the second condition?

Let us create the condition to check if sales is greater than 1000:

=OR(MONTH(C9)=1, D9 > 1000)

OR Formula in Excel

 

Apply the same formula to the rest of the cells by dragging the lower right corner downwards.

OR Formula in Excel

You now have your results!

OR Formula in Excel

 

How to Use the OR Formula in Excel

 

 

OR Formula in Excel | MyExcelOnline

 

If you like this Excel tip, please share it



OR Formula in Excel | MyExcelOnline


Bryan

Bryan Hong is an IT Software Developer for more than 10 years and has the following certifications: Microsoft Certified Professional Developer (MCPD): Web Developer, Microsoft Certified Technology Specialist (MCTS): Windows Applications, Microsoft Certified Systems Engineer (MCSE) and Microsoft Certified Systems Administrator (MCSA).

He is also an Amazon #1 bestselling author of 4 Microsoft Excel books and a teacher of Microsoft Excel & Office at the MyExecelOnline Academy Online Course.

See also  CountIf Formula in Excel

Steps To Follow

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...