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 contain 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.

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.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Example

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

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

=AND(FALSE();TRUE()) returns FALSE.

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

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 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

Loojikaale hornyo ledanno (galchanno).

Syntax

Dino(LogicalValue)

LogicalValue ayee ledantanno hornyooti.

Example

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

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.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Example

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

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

=OR(FALSE();TRUE()) returns TRUE.

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

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

=XOR(TRUE();TRUE()) returns FALSE

=XOR(TRUE();TRUE();TRUE()) returns TRUE

=XOR(FALSE();TRUE()) returns TRUE

Please support us!