LibreOffice 25.2 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()) returns FALSE.
The array formula {=AND(B1:B10;C1:C10)} yields a one-dimensional value of TRUE when all components of B1:B10 and C1:C10 are TRUE. The array expression above does not produce the logical AND per element, and thus does not produce an array of logical values. To compute a logical AND of arrays per element use the * operator in array context. In the example, enter {=B1:B10*C1:C10}.
๋ ผ๋ฆฌ๊ฐ 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()) returns TRUE.
The array formula {=OR(B1:B10;C1:C10)} yields a one-dimensional value of FALSE when all components of B1:B10 and C1:C10 are FALSE. The array expression above does not produce the logical OR per element, and thus does not produce an array of logical values. To compute a logical OR of arrays per element use the + operator in array context. In the example, enter {=B1:B10+C1:C10}.
๋ ผ๋ฆฌ ๊ฐ์ 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]]])
=XOR(TRUE();TRUE()) returns FALSE
=XOR(TRUE();TRUE();TRUE()) returns TRUE
=XOR(FALSE();TRUE()) returns TRUE