if

Previous chapterNext chapter Show allShow all    Hide allHide all

The function if (exprTest, valTrue, valFalse) returns the contents of valTrue (value or string), if the argument exprTest is TRUE, otherwise the contents of valFalse. A combination of if-functions is possible (thus e.g. realization of and-linkages).

Syntax: =if(exprTest,valTrue,valFalse)