LibreOffice 25.2 እርዳታ
This category contains the Logical functions.
ዜሮ (0) እኩል ነው ከ ሀሰት ጋር እና ሌሎች ሁሉም ቁጥሮች እኩል ናቸው ከ እውነት ጋር:
ባዶ ክፍሎች እና ጽሁፍ በ ክፍል ውስጥ ይተዋሉ:
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.
ይመልሳል እውነት ክርክሩ እውነት ከሆነ አንዱ አካል ሀሰት ከሆነ ይመልሳል ሀሰት ዋጋ
ክርክሮቹ ከ ሁለቱ አንዱን ይሆናል የ ሎጂክ መግለጫ እራሳቸው (እውነት, 1<5, 2+3=7, B8<10) የ ተመለሰው የ ሎጂካል ዋጋዎች ወይንም ማዘጋጃዎች (A1:C3) የ ሎጂክ ዋጋዎች የያዘ
AND(Logical 1 [; Logical 2 [; … [; Logical 255]]])
የ ሎጂካል ዋጋዎች ማስገቢያዎች ለ 12<13; 14>12, እና 7<6 የሚመረመሩት:
=እና(12<13;14>12;7<6) ይመልሳል ሀሰት
=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}.
የሚፈጸመውን የ ሎጂካል መሞከሪያ መግለጫ
IF(Test [; [ThenValue] [; [OtherwiseValue]]])
መሞከሪያ የ ዋጋ መግለጫ ነው እውነት ወይንም ሀሰት ሊሆን የሚችል
ከዛ ዋጋ (በ ምርጫ) የ ተመለሰ ዋጋ ነው የ ሎጂካል መሞከሪያ እውነት ነው
ያለ በለዚያ ዋጋ (በ ምርጫ) የ ተመለሰ ዋጋ ነው የ ሎጂካል መሞክከሪያ ሀሰት ነው
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.
ይመልሳል እውነት የ ጎዶሎ ቁጥር ክርክር መጠን ከሆነ እውነት
ክርክሮቹ ከ ሁለቱ አንዱን ይሆናል የ ሎጂክ መግለጫ እራሳቸው (እውነት, 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
ይመልሳል የ ሎጂካል ዋጋ ሀሰት የ ሀሰት() ተግባር ምንም ክርክር አይፈልግም: እና ሁል ጊዜ ይመልሳል ዋጋ ሀሰት
ሀሰት()
=ሀሰት() ይመልሳል ሀሰት
=አይደለም(ሀሰት()) ይመልሳል እውነት
ተጨማሪ (መገልበጫ) የ ሎጂካል ዋጋ
አይደለም(ሎጂካል ዋጋ)
የ ሎጂካል ዋጋ ማንኛውም ዋጋ ነው አስተያየት የሚሰጥበት
=አይደለም(A). ከሆነ A=እውነት ከዛ አይደለም(A) ይገመግማል ሀሰት
የ ሎጂካል ዋጋ የ ተሰናዳው እንደ እውነት ነው የ እውነት() ተግባር ምንም ክርክር አይፈልግም: እና ሁል ጊዜ ይመልሳል የ ሎጂካል ዋጋ እውነት
እውነት()
ከሆነ A=እውነት እና B=ሀሰት የሚቀጥሉት ምሳሌዎች ይታያሉ:
=እና(A;B) ይመልሳል ሀሰት
=ወይንም(A;B) ይመልሳል እውነት
=አይደለም(እና(A;B)) ይመልሳል እውነት
ይመልሳል እውነት ቢያንስ አንድ ክርክር እውነት ከሆነ ይህ ተግባር ይመልሳል የ ሀሰት ዋጋ: ሁሉም ክርክር ካለው ሀሰት የ ሎጂካል ዋጋ
ክርክሮቹ ከ ሁለቱ አንዱን ይሆናል የ ሎጂካል መግለጫ እራሳቸው (እውነት, 1<5, 2+3=7, B8<10) የ ተመለሰው የ ሎጂካል ዋጋዎች ወይንም ማዘጋጃዎች (A1:C3) የ ሎጂካል ዋጋዎች የያዘ
OR(Logical 1 [; Logical 2 [; … [; Logical 255]]])
የ ሎጂካል ዋጋዎች ማስገቢያ 12<11; 13>22, እና 45=45 የሚመረመሩ ናቸው
=ወይንም(12<11;13>22;45=45) ይመልሳል እውነት
=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}.