Ask Your Question

# and...or, in calc [closed] Hello! Can someone tell me if there is option "or" in calc, and is the usage the same as with "and"? Many thanks!

edit retag reopen merge delete

## 1 Answer

Sort by » oldest newest most voted LibreOffice inner help:

OR
Returns TRUE if at least one argument is TRUE. This function returns the value FALSE, if all the arguments have the logical value FALSE. The arguments are either logical expressions themselves (TRUE, 1<5, 2+3=7, B8<10) that return logical values, or arrays (A1:C3) containing logical values.

When a function expects a single value, but you entered a cell range, then the value from the cell range is taken that is in the same column or row as the formula.

If the entered range is outside of the current column or row of the formula, the function returns the error value #VALUE!

Syntax
OR(LogicalValue1; LogicalValue2 ...LogicalValue30)
LogicalValue1; LogicalValue2 ...LogicalValue30 are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the function uses the value from the range that is in the current column or row.
Example
The logical values of entries 12<11; 13>22, and 45=45 are to be checked.
=OR(12<11;13>22;45=45) returns TRUE.
=OR(FALSE;TRUE) returns TRUE.
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
AND
Returns TRUE if all arguments are TRUE. If one of the elements is FALSE, this function returns the FALSE value.
The arguments are either logical expressions themselves (TRUE, 1<5, 2+3=7, B8<10) that return logical values, or arrays (A1:C3) containing logical values.

When a function expects a single value, but you entered a cell range, then the value from the cell range is taken that is in the same column or row as the formula.

If the entered range is outside of the current column or row of the formula, the function returns the error value #VALUE!

Syntax
AND(LogicalValue1; LogicalValue2 ...LogicalValue30)
LogicalValue1; LogicalValue2 ...LogicalValue30 are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the function uses the value from the range that is in the current column or row. The result is TRUE if the logical value in all cells within the cell range is TRUE.
Example
The logical values of entries 12<13; 14>12, and 7<6 are to be checked:
=AND(12<13;14>12;7<6) returns FALSE.
=AND (FALSE;TRUE) returns FALSE.

more

## Stats

Asked: 2013-09-18 18:56:50 +0200

Seen: 91 times

Last updated: Sep 18 '13