Chapter 6 Lesson 3
The IF Function comparison true false three The IF function is used to make a decision based on a . If the comparison is one value is displayed in the cell; if the comparison is a second value is displayed. The IF function has arguments and takes the form: =IF(comparison, value if true, value if false) For example: =IF(C4<E7, 10, 10) comparison true false three
The IF Function Comparison The comparison argument of the IF function can contain one of the following operators, which are used to compare two values: = equal to < less than > greater than <= less than or equal to >= greater than or equal to <> not equal to relational
The IF Function Argument The values of the IF function can contain , , references, or . To check to see if a cell’s contents are empty, two adjacent marks can be used. Text can also be used in the comparison; when compared, the order of the text is determined. Text used in the IF function argument must be enclosed in marks. Text values cell calculations quotation alphabetical quotation
Inserting the IF Function The IF function can be typed as part of a formula or inserted by clicking - Insert - - IF. Formulas Function Logical
Printing a Large Spreadsheet Page Layout The tab can be used to help fit the worksheet on fewer sheets of paper and make each page of the printout more informative: Ways to print a large spreadsheet on one page: Change to orientation Change the Choose the option in Page Setup landscape margins Fit to one page
Printing Large Spreadsheets To make a large spreadsheet that will print on more than one page more readable, insert appropriate breaks. To print only part of a large spreadsheet, click Print - Set . page Area Print Area