LibreOffice 7.4 Help
This category contains the Logical functions.
Zero (0) is equivalent to FALSE and all other numbers are equivalent to TRUE.
Empty cells and text in cells are ignored.
A #VALUE error is raised if all arguments are ignored.
A #VALUE error is raised if one argument is direct text (not text in a cell).
Errors as argument lead to an error.
λͺ¨λ μΈμκ° TRUEμ΄λ©΄ TRUEλ₯Ό ꡬν©λλ€. μμ μ€ νλκ° FALSEμ΄λ©΄ μ΄ ν¨μλ FALSE κ°μ ꡬν©λλ€.
μΈμλ λ Όλ¦¬ κ°μ ꡬνλ λ Όλ¦¬μ μ체(TRUE, 1<5, 2+3=7, B8<10)μ΄κ±°λ λ Όλ¦¬ κ°μ ν¬ν¨νλ λ°°μ΄ (A1:C3)μ λλ€.
AND(Logical 1 [; Logical 2 [; β¦ [; Logical 255]]])
12<13, 14>12 λ° 7<6 νλͺ©μ λ Όλ¦¬ κ°μ΄ κ²μ¬λ©λλ€.
=AND(12<13;14>12;7<6)λ FALSE κ°μ λ°νν©λλ€.
=AND (FALSE;TRUE)λ FALSEλ₯Ό λ°νν©λλ€.
λ Όλ¦¬κ° FALSEλ₯Ό ꡬν©λλ€. FALSE() ν¨μλ μΈμκ° νμνμ§ μμΌλ©° νμ λ Όλ¦¬κ° FALSEλ₯Ό ꡬν©λλ€.
FALSE()
=FALSE()λ FALSEλ₯Ό λ°νν©λλ€.
=NOT(FALSE())λ TRUE κ°μ λ°νν©λλ€.
μνν λ Όλ¦¬ κ²μ¬λ₯Ό μ§μ ν©λλ€.
IF(Test [; [ThenValue] [; [OtherwiseValue]]])
ν μ€νΈλ TRUE λλ FALSEκ° λ μ μλ μμ κ° λλ μμ λλ€.
μ°Έκ°μ μ‘°κ±΄λ¬Έμ΄ TRUE(μ°Έ)μΌ λ μ μ λ°νν κ°μ λλ€(μ ν μ¬ν).
κ±°μ§κ°μ μ‘°κ±΄λ¬Έμ΄ FALSE(κ±°μ§)μΌ λ μ μ λ°νν κ°μ λλ€(μ ν μ¬ν).
In the LibreOffice Calc functions, parameters marked as "optional" can be left out only when no parameter follows. For example, in a function with four parameters, where the last two parameters are marked as "optional", you can leave out parameter 4 or parameters 3 and 4, but you cannot leave out parameter 3 alone.
=IF(A1>5;100;"too small") If the value in A1 is greater than 5, the value 100 is returned; otherwise, the text too small is returned.
=IF(A1>5;;"too small") If the value in A1 is greater than 5, the value 0 is returned because empty parameters are considered to be 0; otherwise, the text too small is returned.
=IF(A1>5;100;) If the value in A1 is less than 5, the value 0 is returned because the empty OtherwiseValue is interpreted as 0; otherwise 100 is returned.
λ³νν λ Όλ¦¬κ°μ μ±μλ£μΌμμμ.
NOT(λ Όλ¦¬κ°)
λ Όλ¦¬κ°μ μ΄λ ν κ°μ΄λΌλ ν¬ν¨λμ΄μΌ ν©λλ€.
=NOT(A)μ μνμμμ μκ³Ό κ°μ΅λλ€. A=TRUE(μ°Έ)μΌ λ NOT(A)λ FALSE(κ±°μ§)λ‘ νκ°λ©λλ€.
μ΅μν νλ μ΄μμ μΈμκ° TRUEμ΄λ©΄ TRUEλ₯Ό ꡬν©λλ€. λͺ¨λ μΈμκ° λ Όλ¦¬κ° FALSEλ₯Ό κ°μ§λ©΄ FALSE κ°μ ꡬν©λλ€
μΈμλ λ Όλ¦¬ κ°μ ꡬνλ λ Όλ¦¬μ μ체(TRUE, 1<5, 2+3=7, B8<10)μ΄κ±°λ λ Όλ¦¬ κ°μ ν¬ν¨νλ λ°°μ΄ (A1:C3)μ λλ€.
OR(Logical 1 [; Logical 2 [; β¦ [; Logical 255]]])
12<11; 13>22 λ° 45=45 νλͺ©μ λ Όλ¦¬ κ°μ΄ κ²μ¬λ©λλ€.
=OR(12<11;13>22;45=45)λ TRUE κ°μ λ°νν©λλ€.
=OR(FALSE;TRUE)μ TRUE κ°μ λ°νν©λλ€.
λ Όλ¦¬ κ°μ TRUEλ‘ μ€μ λ©λλ€. TRUE() ν¨μλ μΈμκ° νμνμ§ μμΌλ©° νμ λ Όλ¦¬κ° TRUEλ₯Ό ꡬν©λλ€.
TRUE()
A=TRUE λ° B=FALSEμ΄λ©΄ λ€μ μκ° λνλ©λλ€.
=AND(A;B)λ FALSEλ₯Ό λ°νν©λλ€.
=OR(A;B)λ TRUEλ₯Ό λ°νν©λλ€.
=NOT(AND(A;B))λ TRUE κ°μ λ°νν©λλ€.
Returns true if an odd number of arguments evaluates to TRUE.
μΈμλ λ Όλ¦¬ κ°μ ꡬνλ λ Όλ¦¬μ μ체(TRUE, 1<5, 2+3=7, B8<10)μ΄κ±°λ λ Όλ¦¬ κ°μ ν¬ν¨νλ λ°°μ΄ (A1:C3)μ λλ€.
XOR(Logical 1 [; Logical 2 [; β¦ [; Logical 255]]])
=AND (FALSE;TRUE)λ FALSEλ₯Ό λ°νν©λλ€.
=OR(FALSE;TRUE)μ TRUE κ°μ λ°νν©λλ€.
=OR(FALSE;TRUE)μ TRUE κ°μ λ°νν©λλ€.