The IF Function |
| Another common spreadsheet task calculates a
conditional decision. This is a fancy way of saying that if your calculations have one
result, you want the worksheet to do one thing, but if they have a different result you
want it to do something else. A typical programming routine would translate this conditional decision as:
If you have taken any programming courses, you have probably heard this referred to as an If Then Else routine. You can build similar functions in Excel. The program's built-in IF function is designed for just this purpose. The help file will tell you that the IF function has the following syntax: IF(logical_test,value_if_true,value_if_false) You may or may not find this description helpful. Let's try to decode it.
Use the videos listed at the top of this page to become more familiar with this function. |
| Learn more |
| This video demonstrates a simple IF function (1.6 MB). | |
| This video shows the results of a nested IF function (0.9 MB). | |
| This video demonstrates building a nested IF function (2.5 MB). |