4. name excel figure 1 - pearson...

5
Refers to box displays =Employees !$A$2:$F$3 Name box displays Criteria Copyright © 2011 by Pearson Education Inc. publishing as Prentice Hall. All rights reserved. From Skills for Success with Microsoft® Excel 2010 Comprehensive Work with Advanced Functions and Formulas | Microsoft Excel Chapter 6 More Skills: SKILL 11 | Page 1 of 5 When you need to create a custom filter, use the Advanced Filter tool, which queries tabular data and displays the results. With an advanced filter, you can place flexible and complex criteria across several columns and rows. To complete this document, you will need the following file: e06_Park_Employees You will save your document as: Lastname_Firstname_e06_Park_Employees 1. Start Excel, and then open the student data file e06_Park_Employees. Save the file in your Excel Chapter 6 folder with the name Lastname_Firstname_e06_Park_Employees Add the file name in the worksheet’s left footer. Return to Normal view. 2. Select the range A6:F6. Display the Home tab, and then in the Clipboard group, click Copy. Click cell A2, and then click Paste. 3. Select cell A1, type Criteria and then press GHGF. 4. Select the range A2:F3, and then display the Formulas tab. In the Defined Names group, click Define Name. In the New Name dialog box, in the Name box, type Criteria In the Refers to box, verify that the value is =Employees!$A$2:$F$3. Compare your screen with Figure 1. Excel CHAPTER 6 Figure 1 More Skills 11 Query Tables Using Criteria Ranges

Upload: lamtram

Post on 21-May-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

Refers to boxdisplays =Employees

!$A$2:$F$3

Name boxdisplays Criteria

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

Work with Advanced Functions and Formulas | Microsoft Excel Chapter 6 More Skills: SKILL 11 | Page 1 of 5

� When you need to create a custom filter, use the Advanced Filter tool, which queries tabulardata and displays the results.

� With an advanced filter, you can place flexible and complex criteria across several columnsand rows.

To complete this document, you will need the following file:� e06_Park_Employees

You will save your document as:� Lastname_Firstname_e06_Park_Employees

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

2. Select the range A6:F6. Display the Home tab, and then in the Clipboard group, click Copy.Click cell A2, and then click Paste.

3. Select cell A1, type Criteria and then press GHGF.

4. Select the range A2:F3, and then display the Formulas tab. In the Defined Names group,click Define Name. In the New Name dialog box, in the Name box, type Criteria In theRefers to box, verify that the value is =Employees!$A$2:$F$3. Compare your screen withFigure 1.

ExcelCHAPTER 6

Figure 1

More Skills 11 Query Tables Using Criteria Ranges

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

Work with Advanced Functions and Formulas | Microsoft Excel Chapter 6 More Skills: SKILL 11 | Page 2 of 5

5. Click OK. Select cell D3, and then type Exempt and press GHGF. In cell F3, type <70000 andpress GHGJ. Compare your screen with Figure 2.

The values in cells D3 and F3 are the criteria that will be used to filter the data. Here,only records where the Status column value is Exempt and the Salary value is less than70,000 will display.

Figure 2

Criteria entered

Criteria rangelabels copied

6. Select cell A6, and then display the Data tab. In the Sort & Filter group, click Advanced,and then compare your screen with Figure 3.

In the Advanced Filter dialog box, the Action setting specifies the location to displaythe filtered data. The List range references the tabular data to search; the Criteria rangereferences the criteria rows in A2:F3.

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

Work with Advanced Functions and Formulas | Microsoft Excel Chapter 6 More Skills: SKILL 11 | Page 3 of 5

Figure 3

Action setting

Criteria Range

List range

7. In the Advanced Filter dialog box, under Action, select the Copy to another locationoption button.

8. In the List range box, verify that the range $A$6:$F$19 is selected. Make any changes thatare needed.

9. In the Criteria range box, verify that the range $A$2:$F$3 is selected. Make any changesthat are needed.

10. In the Copy to box, click the Collapse Dialog button , and then click cell A21. Click theExpand Dialog button , and then verify that the Copy to box reads Employees!$A$21.Compare your screen with Figure 4.

The results of the filter will display starting in cell A21.

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

Work with Advanced Functions and Formulas | Microsoft Excel Chapter 6 More Skills: SKILL 11 | Page 4 of 5

Figure 4

Copy tovalue set

11. Click OK. Notice rows 22:25. Verify that the four displayed records in those rows have theExempt status and that the Salary is less than 70,000. Compare your screen with Figure 5.

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

Work with Advanced Functions and Formulas | Microsoft Excel Chapter 6 More Skills: SKILL 11 | Page 5 of 5

12. Save and then Close the workbook.

13. Exit Excel. Submit your work as directed by your instructor.

� You have completed More Skills 11

Figure 5

Status equalExempt

Salary is lessthan 70,000

Filtered list