Logik Funktionen

[ ] indicates optional parameters

FALSCH()
NICHT(Wahrheitswert)
ODER(Wahrheitswert1; [Wahrheitswert2; ...])
UND(Wahrheitswert1; [Wahrheitswert2; ...])
WAHR()
WENN(Prüfung; [Dann_Wert]; [Sonst_Wert])


Logik Funktionen

FALSCH()

Returns the logical value FALSCH.



NICHT(Wahrheitswert)

Returns WAHR if the input expression evaluates to FALSCH, and vice versa.

WahrheitswertThe logical expression for which you want the opposite value.


ODER(Wahrheitswert1; [Wahrheitswert2; ...])

Returns WAHR if any of the input values are WAHR.

Wahrheitswert1; ...The values that you want to check.


UND(Wahrheitswert1; [Wahrheitswert2; ...])

Returns WAHR if all of the input values are WAHR.

Wahrheitswert1; ...The values that you want to check.


WAHR()

Returns the logical value WAHR.



WENN(Prüfung; [Dann_Wert]; [Sonst_Wert])

Returns one of two other values depending no whether the logical test evaluates to WAHR or FALSCH.

PrüfungAn expression that results in WAHR or FALSCH.
Dann_WertThe value to be returned of the logical test is WAHR. If this parameter is omitted it defaults to 0.
Sonst_WertThe value to be returned of the logical test is FALSCH. If this parameter is omitted it defaults to FALSCH.