Perform logical operations by using the OR() function
=IF(OR(B2="Yes", C2>65), "Delicate", "Standard")A parcel is Delicate when it is marked fragile or is over 65 cm long; otherwise Standard. One true test is enough for OR.
What the MO-211 task asks
OR is the “either” condition. In our MO-211 practice exams it shows up as “Delicate when Fragile is Yes OR the Stem Length is over 65”, often inside a longer rule where the first condition that holds wins.
Like AND, OR returns TRUE or FALSE, so a task that wants words needs IF around it. Read each comparison from the task: “over 65” is >65, and a length of exactly 65 is not over it.
Our grader checks the value in every cell of the target range. It reads the values, not the function, so any formula that produces them earns the points — but one wrong cell fails the whole range.
Worked examples
Type these into a blank sheet to follow along. Every result below is what Excel showed.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Parcel | Fragile | Length | Class |
| 2 | P-1 | No | 40 | Standard |
| 3 | P-2 | Yes | 30 | Delicate |
| 4 | P-3 | No | 70 | Delicate |
| 5 | P-4 | No | 65 | Standard |
| 6 | P-5 | Yes | 80 | Delicate |
=OR(B3="Yes", C3>65)P-2 is fragile; its length does not matter.
=OR(B5="Yes", C5>65)P-4 is not fragile, and 65 is not over 65.
=OR(A2="P-1", A2="P-3")Each value needs its own comparison with the cell.
=IF(OR(B4="Yes", C4>65), "Delicate", "Standard")P-3 is not fragile but is 70 cm long.
=IF(OR(B2="Yes", C2>65), "Delicate", "Standard")Each row tests its own parcel. This is what the video below builds.
Watch it done in Excel
The last example above, recorded in real Excel on the same grid.
Exam traps
=OR(A4="P-1", "P-3") returns FALSE for P-3 itself: the second argument is only the text P-3, which OR ignores, not a test of A4. Write A4="P-3" in full.
“Both must hold” is AND. =IF(OR(B4="Yes", C4>65), …) calls P-3 Delicate though it is not fragile — right for this task, wrong for a both-conditions one.
=IF(OR(B5="Yes", C5>=65), "Delicate", "Standard") calls P-4 Delicate on exactly 65 cm. “Over 65” is >65.
=OR(B2="Yes", C2>65) shows FALSE for P-1. A task that names labels wants the labels, so wrap it in IF.
FAQ
Can OR and AND go in the same formula?
Yes. =IF(AND(OR(B6="Yes", C6>65), C6<100), "Delicate", "Standard") returns Delicate for P-5: fragile, and under 100 cm.
Does OR compare text case-sensitively?
No. =OR(B3="yes", C3>65) returns TRUE.
OR or two COUNTIFS?
OR tests one row and feeds IF. To count the rows that meet either condition, add COUNTIFS together — taking care not to count a row twice.
New to this function?
This page covers what the exam asks. For the full how-to — every argument, more examples and a practice workbook — read our guide on dfwexcel.com.
The OR function, explained — dfwexcel.comTry it under exam conditions
Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.
No credit card needed.
