OR
Supported, behaves as documentedCategory: Logical · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =OR(FALSE,TRUE) | One argument TRUE -> TRUE | True | True | Matched |
| =OR(FALSE,FALSE) | Both arguments FALSE -> FALSE | False | False | Matched |
| =OR(A1:A3) | A range of numbers is coerced to logical (0=FALSE, nonzero=TRUE); one nonzero value makes the whole OR TRUE | True | True Numeric coercion confirmed via https://www.ablebits.com/office-addins-blog/excel-and-or-xor-not-functions/ |
Matched |
| =OR(A1:A3) | A range of all-zero numbers coerces to all-FALSE -> FALSE | False | False | Matched |
| =OR(A1:A3) | Text within a range argument is ignored (not coerced, not an error), per https://support.microsoft.com/en-us/office/or-function-7d17ad14-8700-4281-b308-00b131e22af0: 'If an array or reference argument contains text or empty cells, those values are ignored.' | False | False | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation