3
Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved. From Skills for Success with Microsoft® Excel 2010 Comprehensive Work with Data and Audit Formulas | Microsoft Excel Chapter 7 More Skills: SKILL 13 | Page 1 of 3 ISODD is an information function—an Excel function that provides information about a cell’s contents. The ISODD function returns the value TRUE whenever it evaluates a cell with an odd number. Information functions are often nested in IF functions. For example, the ISODD function can be nested in an IF function to display a custom message when a value is odd or even. The ISERROR function evaluates a cell to determine whether the cell contains an error message. If the cell contains an error message, a value of TRUE is returned. To complete this workbook, you will need the following file: e07_Snow_Groups You will save your workbook as: Lastname_Firstname_e07_Snow_Groups 1. Start Excel, and then open the student data file e07_Snow_Groups. Save the file in your Excel Chapter 7 folder with the name Lastname_Firstname_e07_Snow_Groups Add the file name in the worksheet’s left footer. Return to Normal view. 2. Select cell C7. Display the Formulas tab. In the Function Library group, click the Logical button, and then click IF. In the Function Arguments dialog box, in the Logical_test box, type ISODD(A7) In the Value_if_true box, type A In the Value_if_false box, type B and then click OK. Compare your screen with Figure 1. Cell A7 contains an odd number, so cell C7 displays the value A. Excel CHAPTER 7 More Skills 13 Use Information Functions Figure 1 Nested ISODD function Group value equals A

C7 2. Logical test Function Arguments Excel Figure 1wps.prenhall.com/.../9780135100509_XLS_C07_MS13.pdf · 2010. 8. 27. · With cell D7 selected, display the Home tab. In the Styles

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: C7 2. Logical test Function Arguments Excel Figure 1wps.prenhall.com/.../9780135100509_XLS_C07_MS13.pdf · 2010. 8. 27. · With cell D7 selected, display the Home tab. In the Styles

Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.From Skills for Success with Microsoft® Excel 2010 Comprehensive

Work with Data and Audit Formulas | Microsoft Excel Chapter 7 More Skills: SKILL 13 | Page 1 of 3

� ISODD is an information function—an Excel function that provides information about a cell’s contents. The ISODD function returns the value TRUE whenever it evaluates a cell with an odd number.

� Information functions are often nested in IF functions. For example, the ISODD function can be nested in an IF function to display a custom message when a value is odd or even.

� The ISERROR function evaluates a cell to determine whether the cell contains an error message. If the cell contains an error message, a value of TRUE is returned.

To complete this workbook, you will need the following file:� e07_Snow_Groups

You will save your workbook as:� Lastname_Firstname_e07_Snow_Groups

1. Start Excel, and then open the student data file e07_Snow_Groups. Save the file in yourExcel Chapter 7 folder with the name Lastname_Firstname_e07_Snow_Groups Add the file name in the worksheet’s left footer. Return to Normal view.

2. Select cell C7. Display the Formulas tab. In the Function Library group, click the Logicalbutton, and then click IF. In the Function Arguments dialog box, in the Logical_test box,type ISODD(A7) In the Value_if_true box, type A In the Value_if_false box, type B andthen click OK. Compare your screen with Figure 1.

Cell A7 contains an odd number, so cell C7 displays the value A.

ExcelCHAPTER 7

More Skills 13 Use Information Functions

Figure 1

Nested ISODDfunction

Group valueequals A

Page 2: C7 2. Logical test Function Arguments Excel Figure 1wps.prenhall.com/.../9780135100509_XLS_C07_MS13.pdf · 2010. 8. 27. · With cell D7 selected, display the Home tab. In the Styles

Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.From Skills for Success with Microsoft® Excel 2010 Comprehensive

Work with Data and Audit Formulas | Microsoft Excel Chapter 7 More Skills: SKILL 13 | Page 2 of 3

3. Select cell C7, and then drag the fill handle down through cell C108. In C108, verify that B displays.

4. Select cell D7. In the Function Library group, click the More Functions button. Point toInformation, and then click ISERROR. In the displayed Function Arguments dialog box,in the Value box, type C7 and click OK. Notice that D7 displays FALSE, meaning that thereis no error in the ID value. Compare your screen with Figure 2.

The ISERROR function is used to determine whether there is an error in the ID. AllIDs are numbers, and if an ID contains a letter, an error occurs.

Figure 2

Function in theformula bar

Result

Page 3: C7 2. Logical test Function Arguments Excel Figure 1wps.prenhall.com/.../9780135100509_XLS_C07_MS13.pdf · 2010. 8. 27. · With cell D7 selected, display the Home tab. In the Styles

5. With cell D7 selected, display the Home tab. In the Styles group, click the ConditionalFormatting button. Click New Rule. In the New Formatting Rule dialog box, under Selecta rule type, click Use a formula to determine which cells to format. In the Format valueswhere this formula is true box, type =ISERROR(C7) Click Format, and on the Font tab,click the Color arrow. Under Standard Colors, click the second color—Red. Click OK.In the New Formatting Rule box, click OK.

6. Click cell D7, and then use the fill handle to fill the formula down to cell D108.

7. Click cell D7, and then display the Data tab. In the Sort & Filter group, click the Sort Z to A button. Compare your screen with Figure 3.

The results are sorted, and the employees with errors in their ID numbers are displayedat the top of the list. The results are sorted Z to A because True follows False in thealphabet and the goal is to have the error values at the top of the list.

8. Save your workbook, and then print or submit the file as directed by your instructor.Exit Excel.

� You have completed More Skills 13

Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved.From Skills for Success with Microsoft® Excel 2010 Comprehensive

Work with Data and Audit Formulas | Microsoft Excel Chapter 7 More Skills: SKILL 13 | Page 3 of 3

Figure 3