Download presentation
Presentation is loading. Please wait.
1
FILTERING DATA IN EXCEL
Filtering shows only those records that satisfy the stated criteria. (The remaining records will be hidden but not deleted.) You may use either the Simple or the Advanced filter features. We will restrict our attention to Simple, since it can be used for most common data- retrieval operations. To filter the data using Simple, do either of the following: 1. Select any cell within the list and then choose Sort & Filter/Filter from the Editing group within the Ribbon’s Home tab. 2. Select any cell and then choose Filter from the Sort & Filter group within the Ribbon’s Data tab.
2
Example 8.4 Filtering a List in Excel
In this example, we will perform several filtering operations on the data within the list of states, originally created in Example 8.1. In particular, we will determine: 1. The 10 states having the highest population density. 2. Which state has its capital in Richmond. 3. Which states have areas exceeding 100,000 square miles. 4. Which states have populations between 10 and 20 million people.
3
Problem 8.4 Carry out the following filtering operations on the list containing the data given in Example 8.1. (a) Determine the five states having the smallest area. (b) Determine which state has its capital in Jefferson City. (c) Determine the total population of the three states having the largest area. (Hint: use AutoSum after the filtering operation.) (d) Determine the total area of the four states having the largest population. (e) Determine the average population density of the five states having the smallest population. (f) Determine which states have populations exceeding eight million people. (g) Determine which states have areas less than 60,000 square miles. (h) Determine which states have populations exceeding 16 million people or areas less than 70,000 square miles. (i) Determine which states have population densities between 65 and 200 persons per square mile. (j) Determine which states have state capitals whose names begin with either A or B. (k) Determine which states have populations between three and nine million people and areas between 60,000 and 80,000 square miles.
4
Example 8.1 Creating a List in Excel
State Capital Population Area (sq. miles) Alaska Juneau 550,043 615,230 California Sacramento 29,760,021 158,869 Colorado Denver 3,294,394 104,100 Florida Tallahassee 12,937,926 59,988 Missouri Jefferson City 5,117,073 69,709 New York Albany 17,990,455 53,989 North Carolina Raleigh 6,628,637 52,672 North Dakota Bismarck 638,800 70,704 Pennsylvania Harrisburg 11,881,643 45,759 Rhode Island Providence 1,003,464 1,231 Texas Austin 16,986,510 267,277 Virginia Richmond 6,187,358 42,326 Washington Olympia 4,866,692 70,637
5
Problem 8.5 Enter Professor Boehring’s class roster, given in Prob. 8.2, into an Excel worksheet. Then carry out the following filtering operations: (a) Determine which students are industrial engineering (IE) majors. (b) Determine which students are majoring in either chemical engineering (ChE) or mechanical engineering (ME). (c) Determine the average scores of the civil engineering (CE) students. (d) Determine which students have final grades of C or better. (e) Determine which students have final scores less than 70. (f) Determine which electrical engineering (EE) students have final scores less than 70. (g) Determine which students have final scores between 70 and 90. (h) Determine which students are either industrial engineering majors or have final scores of at least 90.
6
Problem 8.2 The final scores for Professor Boehring’s Introduction to Engineering course are shown below (all names are fictitious): Departmental Final Student Major Score Grade Barnes EE 87.2 B Davidson ChE 93.5 A Edwards ME 74.6 C Graham 86.2 Harris 63.9 D Jones IE 79.8 Martin 99.2 O'Donnell CE 80 Prince 69.2 Roberts 48.3 F Thomas 77.5 Williams 94.5 Young 73.2
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.