লজিক্যাল ফাংশন

This category contains the Logical functions.

Handling non-logical arguments in logical functions

এই নির্দেশাবলীতে সন্নিবেশ করতে...

Insert - Function - Category Logical


ISNA

যদি কোনো ঘরে ত্রুটি মান #N/A (মান বিদ্যমান নেই) থাকে, TRUE প্রদান করে।

যদি কোনো ত্রুটি সংঘটিত হয়, ফাংশনটি FALSE প্রদান করে।

সিনট্যাক্স

ISNA(Value)

Value হলো এমন একটি মান বা এক্সপ্রেশন, যা পরীক্ষা করা হবে।

উদাহরণ

=ISNA(D3) ফলাফল হিসেবে FALSE প্রদান করে।

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.


সিনট্যাক্স

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.

উদাহরণ

=ISERROR(C8), যেখানে C8 ঘরে =1/0 রয়েছে, TRUE প্রদান করে, কারণ ১/০ হলো ত্রুটি।

=ISERROR(C8), যেখানে C8 ঘরে =1/0 রয়েছে, TRUE প্রদান করে, কারণ ১/০ হলো ত্রুটি।

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

যদি সব আর্গুমেন্ট TRUE হয়, TRUE প্রদান করে। যদি কোনো একটি উপাদান FALSE হয়, এই ফাংশনটি FALSE মান প্রদান করে।

আর্গুমেন্টগুলো নিজেই হয় লজিক্যাল এক্সপ্রেশন (TRUE, 1<5, 2+3=7, B8<10), যা লজিক্যাল মান প্রদান করে, বা অ্যারে (A1:C3), যাতে লজিক্যাল মান রয়েছে।

সিনট্যাক্স

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.


উদাহরণ

১২<১৩; ১৪>১২, এবং ৭<৬ ভুক্তির লজিক্যাল মান পরীক্ষা করা হবে:

=AND(12<13;14>12;7<6) FALSE প্রদান করে।

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

note

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() FALSE প্রদান করে

=NOT(FALSE()) TRUE প্রদান করে

IF

একটি লজিক্যাল পরীক্ষা সম্পন্ন করার জন্য সুনির্দিষ্ট করা হয়।

সিনট্যাক্স

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

পরীক্ষণ যেকোনো মান অথবা এক্সপ্রেশন যা TRUE অথবা FALSE হতে পারে।

ThenValue (ঐচ্ছিক) হলো এমন একটি মান যা লজিক্যাল পরীক্ষণ TRUE হলে প্রদান করে থাকে।

OtherwiseValue (ঐচ্ছিক) হলো এমন একটি মান যা লজিক্যাল পরীক্ষণ 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(LogicalValue)

LogicalValue হলো সম্পূরক মান।

উদাহরণ

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

OR

যদি কমপক্ষে একটি আর্গুমেন্ট TRUE হয়, TRUE প্রদান করে। যদি সকল আর্গুমেন্টের লজিক্যাল মান FALSE হয়, ফাংশনটি FALSE মান প্রদান করে।

আর্গুমেন্টগুলো নিজেই হয় লজিক্যাল এক্সপ্রেশন (TRUE, 1<5, 2+3=7, B8<10), যা লজিক্যাল মান প্রদান করে, বা অ্যারে (A1:C3), যাতে লজিক্যাল মান রয়েছে।

সিনট্যাক্স

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.


উদাহরণ

১২<১১; ১৩>২২, এবং ৪৫=৪৫ ভুক্সিসমূহের লজিক্যাল মান পরীক্ষা করা হবে।

=OR(12<11;13>22;45=45) TRUE প্রদান করে।

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

note

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 প্রদান করে।

সিনট্যাক্স

TRUE()

উদাহরণ

যদি A=TRUE এবং B=FALSE হয়, নিম্নের উদাহরণ উপস্থিত হয়:

=AND(A;B) FALSE প্রদান করে

=OR(A;B) TRUE প্রদান করে

=NOT(AND(A;B)) TRUE প্রদান করে

XOR

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

আর্গুমেন্টগুলো নিজেই হয় লজিক্যাল এক্সপ্রেশন (TRUE, 1<5, 2+3=7, B8<10), যা লজিক্যাল মান প্রদান করে, বা অ্যারে (A1:C3), যাতে লজিক্যাল মান রয়েছে।

tip

This function is available since LibreOffice 4.0.


সিনট্যাক্স

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.

উদাহরণ

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

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

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

Please support us!