Lojikaale Assiishshubba

This category contains the Logical functions.

Handling non-logical arguments in logical functions

Tene hajajo injeesate...

Insert - Function - Category Logical


ISNA

Bisicco #N/A (horno shiqa hoogguro) so'rote hornyo TRUE qolanno.

So'ro kalaqantuha ikkiro, assiishshu FALSE qolanno.

Syntax

ISNA(hornyo)

Hornyo buuxama dandiitanno hornyo woy shallagote handaaraati.

Example

=ISNA(D3) FALSE gumu gede qolanno.

ISERROR

Returns the value if the cell does not contains an error value, or the alternative value if it does.

tip

This function is available since LibreOffice 4.0.


Syntax

IFERROR(Value; Alternate_value)

Value is the value or expression to be returned if it is not equal or results in an error.

Alternate_value is the value or expression to be returned if the expression or value of Value is equal or results in an error.

Example

=ISERR(C8) bisicco C8 amaddino dargi =1/0 TRUE qolanno, korkaatuno 1/0 so'rote.

=ISERR(C8) bisicco C8 amaddino dargi =1/0 TRUE qolanno, korkaatuno 1/0 so'rote.

IFS

IFS is a multiple IF-function.

SWITCH

SWITCH compares expression with value1 to valuen and returns the result belonging to the first value that equals expression. If there is no match and default_result is given, that will be returned.

OR

Ajanna mitte tidho TRUE ikkituro TRUE qolanno. Baala tidhuwa lojikaale hornyo FALSE ikkituro kuni assiishshi FALSE hornyo qolanno.

Tidhuwa uminsanni loojikaale shallagote handaarra (TRUE, 1<5, 2+3=7, B8<10) hakkuno loojikaale hornyuwa, woy loojikaale hornyuwa amaddino (A1:C3) dirra qolanno.

Syntax

OR(Logical 1 [; Logical 2 [; … [; Logical 255]]])

Logical 1, Logical 2, … , Logical 255 are boolean values, references to cells or to cell ranges of logical values.

Example

Eubbate loojikaale hornyuwa 12<11; 13>22, and 45=45 buuxama noonsa.

=ISODD(48) =ISEVEN(33) FALSE qolanno

=NNA (FALSE;TRUE) TRUE qolanno.

AND

Baala tidhuwa TRUE ikkituro TRUE qolanno. miillate giddo mittu FALSE ikkiro, kuni assiishshi FALSE hornyooti.

Tidhuwa uminsanni loojikaale shallagote handaarra (TRUE, 1<5, 2+3=7, B8<10) hakkuno loojikaale hornyuwa, woy loojikaale hornyuwa amaddino (A1:C3) dirra qolanno.

Syntax

AND(Logical 1 [; Logical 2 [; … [; Logical 255]]])

Logical 1, Logical 2, … , Logical 255 are boolean values, references to cells or to cell ranges of logical values.

Example

Eubbate loojikaale hornyuwa 12<13; 14>12, nna 7<6 buuxama noonsa:

=ISODD(48) =ISEVEN(33) FALSE qolanno

=NNA (FALSE;TRUE) FALSE qolanno.

TRUE

Loojikaale hornyo FALSE qolanno TRUE. TRUE() assiishshi ayye tidhuwa dishiqishanno, nna duucha wote Loojikaale hornyo FALSE qolanno.

Syntax

TRUE()

Example

A=TRUE nna B=FALSE ikkiro aantanno lawishshuwa shiqqanno:

=ISODD(48) =ISEVEN(33) FALSE qolanno

=ISODD(33) TRUE qolanno

=NOT(AND(A;B)) TRUE qolanno

FALSE

Loojikaale hornyo FALSE qolanno. FALSE() assiishshi ayye tidhuwa dishiqishanno, nna duucha wote Loojikaale hornyo FALSE qolanno.

Syntax

FALSE()

Example

=ISEVEN(33) FALSE qolanno

=N(FALSE) 0 qolanno

NOT

Loojikaale hornyo ledanno (galchanno).

Syntax

Dino(LogicalValue)

LogicalValue ayee ledantanno hornyooti.

Example

=NOT(A). If A=TRUE then NOT(A) will evaluate FALSE.

IF

Loosama noosiha loojikaale wo'naalsha badanno.

Syntax

IF(Test [; ThenValue [; OtherwiseValue]])

Test is any value or expression that can be TRUE or FALSE.

ThenValue (optional) is the value that is returned if the logical test is TRUE.

OtherwiseValue (optional) is the value that is returned if the logical test is 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.

Example

=IF(A1>5;100;"too small") If the value in A1 is higher than 5, the value 100 is entered in the current cell; otherwise, the text “too small” (without quotes) is entered.

XOR

Returns true if an odd number of arguments evaluates to TRUE.

Tidhuwa uminsanni loojikaale shallagote handaarra (TRUE, 1<5, 2+3=7, B8<10) hakkuno loojikaale hornyuwa, woy loojikaale hornyuwa amaddino (A1:C3) dirra qolanno.

tip

This function is available since LibreOffice 4.0.


Syntax

XOR(Logical 1 [; Logical 2 [; … [; Logical 255]]])

Logical 1, Logical 2, … , Logical 255 are boolean values, references to cells or to cell ranges of logical values.

Example

=NNA (FALSE;TRUE) FALSE qolanno.

=NNA (FALSE;TRUE) TRUE qolanno.

=NNA (FALSE;TRUE) TRUE qolanno.

Please support us!