IF: Standard IF statement in Microsoft Excel

Description Usage Arguments Value Author(s) See Also Examples

View source: R/IF.R

Description

Given a condition that is either true or false, returns the true or false value specified.

Usage

1
IF(condition, true, false)

Arguments

condition

Condition that you would like evaluated to see if true or false.

true

Value that you would like returned if condition is true.

false

Value that you would like returned if condition is false.

Value

Returns the true or false value specified.

Author(s)

Nick Bultman, njbultman74@gmail.com, December 2020

See Also

ifelse

Examples

1
2
IF(2 == 2, "true", "false")
IF(2 != 2, "true", "false")

njbultman/xlsxFunctions documentation built on March 19, 2021, 6:54 p.m.