Presentation is loading. Please wait.

Presentation is loading. Please wait.

CIS300 Test 3 Review Reinhardt. © 2009 Dale McIntosh. All Rights Reserved. Slides are Available at: uter/cistestreviews.html.

Similar presentations


Presentation on theme: "CIS300 Test 3 Review Reinhardt. © 2009 Dale McIntosh. All Rights Reserved. Slides are Available at: uter/cistestreviews.html."— Presentation transcript:

1 CIS300 Test 3 Review Reinhardt

2 © 2009 Dale McIntosh. All Rights Reserved. Slides are Available at: http://reach.louisville.edu/tutoring/comp uter/cistestreviews.html

3 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions Syntax: =DAVERAGE(database,field,criteria) Arguments: database Required  The range of cells that makes up the list or database. field Required  Indicates which column is used in the function. criteria Required  The range of cells that contains the conditions you specify.

4 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

5 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

6 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

7 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

8 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) =12 The average yield of apple trees over 10 feet in height.

9 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,3,A4:E10) The average age of all trees in the database.

10 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) The average age of all trees in the database.

11 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) The average age of all trees in the database.

12 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) The average age of all trees in the database.

13 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) =13 The average age of all trees in the database.

14 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

15 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

16 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

17 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

18 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) =105 The maximum profit of apple and pear trees.

19 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

20 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

21 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

22 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

23 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) =75 The minimum profit of apple trees over 10 in height.

24 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DCOUNT(A4:E10,"Age",A1:F2) This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.

25 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DCOUNT(A4:E10,"Age",A1:F2) This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.

26 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DCOUNT(A4:E10,"Age",A1:F2) This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.

27 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DCOUNT(A4:E10,"Age",A1:F2) This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.

28 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DCOUNT(A4:E10,"Age",A1:F2) =1 This function looks at the records of apple trees between a height of 10 and 16 and counts how many of the Age fields in those records contain numbers.

29 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The total profit from apple trees.

30 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The minimum profit of apple trees over 10 in height.

31 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The minimum profit of apple trees over 10 in height.

32 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The minimum profit of apple trees over 10 in height.

33 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) =225 The minimum profit of apple trees over 10 in height.

34 © 2009 Dale McIntosh. All Rights Reserved. 34

35 © 2009 Dale McIntosh. All Rights Reserved. 35 =AVERAGEIF(B2:B5,"<23000")

36 © 2009 Dale McIntosh. All Rights Reserved. 36 =AVERAGEIF(B2:B5,"<23000") =14000

37 © 2009 Dale McIntosh. All Rights Reserved. 37 =AVERAGEIF(A2:A5,"<95000")

38 © 2009 Dale McIntosh. All Rights Reserved. 38 =AVERAGEIF(A2:A5,"<95000") =#DIV/0

39 © 2009 Dale McIntosh. All Rights Reserved. 39 =AVERAGEIF(A2:A5,">250000",B2:B5)

40 © 2009 Dale McIntosh. All Rights Reserved. 40 =AVERAGEIF(A2:A5,">250000",B2:B5) =24500

41 © 2009 Dale McIntosh. All Rights Reserved. 41

42 © 2009 Dale McIntosh. All Rights Reserved. 42

43 © 2009 Dale McIntosh. All Rights Reserved.

44 Practice Questions A)What is the formula to determine the total number of employees who earn MORE than $50,000 in annual salary? B)What is the formula to determine the sum of the salaries of employees who earn LESS than the average annual salary for this group of employees? C)What is the formula to determine the sum of the salaries of employees who earn LESS than the fourth (4th) lowest salary? Answers: A)=COUNTIF(C4:C14,">50000") B)=SUMIF(C4:C14,"<"&AVERAGE(C4:C14)) C)=SUMIF(C4:C14,"<"&SMALL(C4:C14,4))

45 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Lookup Functions Syntax: =VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup]) Arguments: lookup_value Required  The value to search in the first column of the table or range. table_array Required  The range of cells that contains the data. col_index_num Required  The column number in the table_array argument from which the matching value must be returned. range_lookup Optional  A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match.

46 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Lookup Functions Description: Searches the first column of a range of cells, and then returns a value from any cell on the same row of the range. Remarks: The values in the first column of table_array can be text, numbers, or logical values. Uppercase and lowercase text are equivalent. If range_lookup is TRUE, the values in the first column of table_array must be placed in ascending order. If range_lookup is TRUE or omitted, an approximate match is returned. If range_lookup is FALSE, an exact match will be attempted.

47 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Lookup Functions Description: Searches the first column of a range of cells, and then returns a value from any cell on the same row of the range. Remarks: The values in the first column of table_array can be text, numbers, or logical values. Uppercase and lowercase text are equivalent. If range_lookup is TRUE, the values in the first column of table_array must be placed in ascending order. If range_lookup is TRUE or omitted, an approximate match is returned. If range_lookup is FALSE, an exact match will be attempted.

48 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Lookup Functions Errors: #VALUE! – If col_index_num is less than 1 #REF! – If col_index_num is greater than the number of columns in the table_array #N/A – If range_lookup is FALSE and an exact match cannot be found #N/A – If lookup_value is less than the smallest value in the first column of table_array

49 © 2009 Dale McIntosh. All Rights Reserved. =VLOOKUP(“CPU”,A1:F9,5,FALSE) 12345

50 © 2009 Dale McIntosh. All Rights Reserved. Q. How much total profit was made on the item that costs $40.00? A. =VLOOKUP(40,C2:F7,4,FALSE)

51 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Lookup Functions Syntax: =HLOOKUP(lookup_value,table_array,row_index_num,[range_lookup]) Arguments: lookup_value Required  The value to search in the first column of the table or range. table_array Required  The range of cells that contains the data. col_index_num Required  The row number in the table_array argument from which the matching value must be returned. range_lookup Optional  A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match.

52 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Lookup Functions Description: Searches the first row of a range of cells, and then returns a value from any cell on the same column of the range. Remarks: The values in the first column of table_array can be text, numbers, or logical values. Uppercase and lowercase text are equivalent. If range_lookup is TRUE, the values in the first column of table_array must be placed in ascending order. If range_lookup is TRUE or omitted, an approximate match is returned. If range_lookup is FALSE, an exact match will be attempted.

53 © 2009 Dale McIntosh. All Rights Reserved. =HLOOKUP(“Retail Value”,A1:F9,7,FALSE)

54 © 2009 Dale McIntosh. All Rights Reserved. Q. How many motherboards did they sell? A. =HLOOKUP(“Quantity”,A1:F9,6,FALSE)

55 © 2009 Dale McIntosh. All Rights Reserved. Some More Practice – EXAMPLE 1 Microsoft ® Excel ® Lookup Functions Q. In the month with the most rainfall, how much damage did the rain cause? A.=VLOOKUP(MAX(B2:B13),B2:D1 3,3) = $250,000.00

56 © 2009 Dale McIntosh. All Rights Reserved. Some More Practice – EXAMPLE 2 Microsoft ® Excel ® Lookup Functions Q. If flooding occurred and the damages exceeded $100,000, the state will receive natural disaster funding. Which months will the state receive natural disaster funding. A.=IF(C2=“Yes”,IF(D2>100000, “Funds”, “No Funds”), “No Funds”) OR =IF(AND(C2=“Yes,D2>100000), “Funds”, “No Funds”)

57 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Information Functions Returns TRUE if value refers to any error value: #N/A#VALUE!#REF!#DIV/0! #NUM!#NAME?#NULL!

58 © 2009 Dale McIntosh. All Rights Reserved. Microsoft ® Excel ® Information Functions

59 © 2009 Dale McIntosh. All Rights Reserved. Practice Questions What is the formula to determine the name of the driver who was driving the 2 nd slowest? =VLOOKUP(SMALL(D5:D9, 2),D5:F9,3,FALSE)

60 © 2009 Dale McIntosh. All Rights Reserved. EVALUATE: 1) =VLOOKUP(D15, $D$8:$F$20, 3, FALSE) 2)=VLOOKUP(SUM(B4:G4), $E$12:$G$24, 3, TRUE) 3)=VLOOKUP(MIN(B14:D18) + MAX(E3:G13), $C$10:$D$25, 2 Answers: 1: 49 2: 50 3: 89

61 © 2009 Dale McIntosh. All Rights Reserved. Evaluate: 1) =VLOOKUP(B21, $C$11:$G$22, 4, TRUE) 2) =HLOOKUP(SMALL(G3:G10,4),B4:G10,4,FALS E) 3)=HLOOKUP(SUMIF(B3:G3,”>5”),C11:F24,COU NTIF(B3:G3,”>5”),FALSE) Answers: 1)61 2)38 3)46

62 © 2009 Dale McIntosh. All Rights Reserved. Advanced Sorting Techniques using Criteria Ranges Follow Along if you would like by downloading the file @: http://reach.louisville.edu/tutoring/computer/cistestreview s.htmlhttp://reach.louisville.edu/tutoring/computer/cistestreview s.html Files are: CIS 300 Data 1, 2, and 3


Download ppt "CIS300 Test 3 Review Reinhardt. © 2009 Dale McIntosh. All Rights Reserved. Slides are Available at: uter/cistestreviews.html."

Similar presentations


Ads by Google