|
|
|
IF Function |
|
The next function we will discuss is IF. The IF function will check the logical condition of a statement and return one value if true and a different value if false. The syntax is
| Let's use the table here for the discussion that follows. We will look at several different specific examples that show how the IF functions can be used! |
|
| Example of IF typed into column B |
Compares | |
| =IF (A2>1,"Yes","No") | is ( .95 > 1) | |
| =IF (A3>1, "Yes", "No") | is (1.37 > 1) | |
| =IF (A5>10000, .08, .05) | is (14000 > 10000) | |
| =IF (A6>10000, .08, .05) | is (8453 > 10000) |
|
|
|
IF Function |
|
17536