Download presentation
Presentation is loading. Please wait.
1
Database Functions & Filtering
2
Excel has two special functions for analyzing lots of data with more than one set of criteria DCOUNT: counts the number of times an event occurs meeting a criteria DAVERAGE: finds the average of events meeting a criteria
3
Database Functions & Filtering DCOUNT This is the range of data to be counted. Must include column headings Leave this blank Specify the criteria to be counted. Need the same column headings as database
4
Database Functions & Filtering Ex: (from text) Use Cars.xls file to determine how many Toyotas were repaired in Arizona. Open Cars.xls and copy the headings. Paste the headings on an empty sheet. Type the criteria you want to count.
5
Database Functions & Filtering Sol:
6
Database Functions & Filtering Sol (cont): To find how many Toyotas were repaired in Arizona, use DCOUNT Enter range of data with headings Leave Blank Enter your search criteria. This will be the cells from the previous slide
7
Database Functions & Filtering Sol (cont):
8
Database Functions & Filtering Ex: Use Cars.xls file to determine how many Toyotas were repaired in Arizona or Utah. Sol: Same directions as previous example. Exception: need two lines, one for Arizona & one for Utah Both lines should contain Toyota
9
Database Functions & Filtering Sol (cont):
10
Database Functions & Filtering DAVERAGE: still need correct column headings will find the average of criteria you specify
11
Database Functions & Filtering Ex: Use Cars.xls file to determine the average repair cost of Fords that were repaired in New Mexico. Soln: Same directions as previous example except use DAVERAGE. Select the heading that you want to average and put in “Field.”
12
Database Functions & Filtering Sol: Specify database including column headings Type the name of the heading that you want to average in quotation marks Enter search criteria according to the column headings you copied and pasted
13
Database Functions & Filtering Sol (cont):
14
Database Functions & Filtering Ex: Use Cars.xls file to determine the average repair cost of Chevrolets that were repaired in Utah at speeds that were at least 8 mph. Sol:
15
Database Functions & Filtering Finding probability using two DCOUNT functions Ex: What percentage of Chevrolet’s were repaired in Arizona?
16
Database Functions & Filtering Sol: First, find the number of Chevrolets.
17
Database Functions & Filtering Sol (cont): Next, find the # of Chevrolet’s repaired in Arizona. So, there were repaired in Arizona.
18
Database Functions & Filtering Filtering Allows you to list all the items of data meeting a certain criteria Use DCOUNT to get data Click on any empty cell Select Data/Filter/Advanced Filter
19
Database Functions & Filtering Filtering Click here Specify range of data Specify the criteria you want listed Tell Excel where you want the data items to be displayed
20
Database Functions and Filtering Focus on the Project: Variables: Y: borrower with 7 years of experience T: borrower with Bachelor’s Degree C: borrower with loan during Normal economy Use DCOUNT to find number of records with Y, then T, then C
21
Database Functions and Filtering Focus on the Project: Number of Y records: 239 Number of successful Y records: 105 Number of failed Y records: 134
22
Database Functions and Filtering Focus on the Project: Number of T records: 1,154 Number of successful T records: 510 Number of failed T records: 644
23
Database Functions and Filtering Focus on the Project: Number of C records: 1,547 Number of successful C records: 807 Number of failed C records: 740
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.