Логические functions
[ ] indicates optional parameters
ЕСЛИ(логическое_выражение, [значение_если_истина], [значение_если_ложь])ЕСЛИ(логическое_выражение, [значение_если_истина], [значение_если_ложь])
Returns one of two other values depending no whether the logical test evaluates to ИСТИНА or ЛОЖЬ.
логическое_выражение | An expression that results in ИСТИНА or ЛОЖЬ. |
значение_если_истина | The value to be returned of the logical test is ИСТИНА. If this parameter is omitted it defaults to 0. |
значение_если_ложь | The value to be returned of the logical test is ЛОЖЬ. If this parameter is omitted it defaults to ЛОЖЬ. |
И(логическое1, [логическое2, ...])
Returns ИСТИНА if all of the input values are ИСТИНА.
логическое1, ... | The values that you want to check. |
ИЛИ(логическое1, [логическое2, ...])
Returns ИСТИНА if any of the input values are ИСТИНА.
логическое1, ... | The values that you want to check. |
Returns the logical value ИСТИНА.
Returns the logical value ЛОЖЬ.
Returns ИСТИНА if the input expression evaluates to ЛОЖЬ, and vice versa.
флаг | The logical expression for which you want the opposite value. |