If With Other Calculations
Explanation The goal is to demonstrate how other formulas and functions can be nested inside the IF function . The example is a simple quantity-based discount formula. IF function The IF function evaluates a logical test and returns one value if the result is TRUE, and a different value if the result is FALSE. The generic syntax for IF looks like this: =IF(logical_test,value_if_true,value_if_false) For example, if cell A1 contains the value 75, then you could use IF to return “Pass” or “Fail” like this:...