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, 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) returns 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() returns FALSE
=NOT(FALSE()) returns TRUE
საზღვრავს წარსადგენ ლოგიკურ ტესტს.
IF(Test [; [ThenValue] [; [OtherwiseValue]]])
ტესტი არის ნებისმიერი მნისვნელობა ან გამოსახულება რომელიც შეიძლება იყოს ჭეშმარიტი ან მცდარი.
მაშინ_მნიშვნელობა (არასავალდებულო) არის ლოგიკური ტესტი თუ TRUE არის, დაბრუნებული მნიშვნელობა.
სხვაგვარად_მნიშვნელობა (არასავალდებულო) არის ლოგიკური ტესტი თუ FALSE არის, დაბრუნებული მნიშვნელობა.
=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.
Complements (inverts) a logical value.
NOT(ლოგიკური მნიშვნელობა)
LogicalValue is any value to be complemented.
=NOT(A). If A=TRUE then NOT(A) will evaluate 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) returns 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()
If A=TRUE and B=FALSE the following examples appear:
=AND(A;B) returns FALSE
=OR(A;B) returns TRUE
=NOT(AND(A;B)) returns 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