Presentation is loading. Please wait.

Presentation is loading. Please wait.

CIS300 Test Review REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010.

Similar presentations


Presentation on theme: "CIS300 Test Review REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010."— Presentation transcript:

1 CIS300 Test Review REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010

2 © 2010 REACH All Rights Reserved. Microsoft  Excel  Logical Functions Mathematical Functions Information Function

3 Cell Referencing Reference (Description)Changes to $A$1 (absolute column and absolute row)$A$1 A$1 (relative column and absolute row)C$1 $A1 (absolute column and relative row)$A3 A1 (relative column and relative row)C3

4 © 2010 REACH All Rights Reserved. Microsoft  Excel  Logical Functions AND =AND(logical1, [logical2],...) OR =OR(logical1, [logical2],...) NOT =NOT(logical) IF =IF(logical_test, [value_if_true], [value_if_false])

5 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Syntax: =AND(logical1, [logical2],...) Arguments: logical1 Required  The first condition that you want to test that can evaluate to either TRUE or FALSE. logical2,... Optional  Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions.

6 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Description: Returns FALSE if one or more arguments is FALSE Otherwise, all arguments must evaluate TRUE Remarks: Arguments must evaluate to logical values Arguments must be arrays or references that contain logical values Text and empty cells are ignored in arrays or references Errors: #VALUE – If no logical values exist in a specified range

7 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions 

8 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Q. Find which conferences had at least a 10% increase from 2010 to 2011. Use the AND function. A. =AND(C2>B2, ((C2-B2)/B2)>=0.1), etc.

9 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Syntax: =OR(logical1, [logical2],...) Arguments: logical1 Required  The first condition that you want to test that can evaluate to either TRUE or FALSE. logical2,... Optional  Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions.

10 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Description: Returns TRUE if one or more arguments is TRUE Otherwise, all arguments must evaluate FALSE Remarks: Arguments must evaluate to logical values Arguments must be arrays or references that contain logical values Text and empty cells are ignored in arrays or references Errors: #VALUE – If no logical values exist in a specified range

11 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions  

12 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Q. Use the OR function to decide whether the employee gets overtime pay. The employee will receive overtime if they worked over 40 hours or worked on a holiday. A. =OR(B2>40, C2=“Yes”), etc.

13 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Syntax: =NOT(logical) Arguments: logical Required  A value or expression that can be evaluated to TRUE or FALSE.

14 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Description: Reverses the value of its argument. Remarks: If logical is FALSE, NOT returns TRUE if logical is TRUE, NOT returns FALSE Errors: None

15 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions

16 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Syntax: =IF(logical_test, [value_if_true], [value_if_false]) Arguments: logical_test Required  Any value or expression that can be evaluated to TRUE or FALSE. value_if_true Optional The value that you want to be returned if the logical_test argument evaluates to TRUE. If logical_test evaluates to TRUE and the value_if_true argument is omitted (that is, there is only a comma following the logical_test argument), the IF function returns 0 (zero). To display the word TRUE, use the logical value TRUE for the value_if_true argument.

17 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Syntax: =IF(logical_test, [value_if_true], [value_if_false]) Arguments: value_if_false Optional  The value that you want to be returned if the logical_test argument evaluates to FALSE.  If logical_test evaluates to FALSE and the value_if_false argument is omitted, (that is, there is no comma following the value_if_true argument), the IF function returns the logical value FALSE.  If logical_test evaluates to FALSE and the value of the value_if_false argument is omitted (that is, in the IF function, there is a comma following the value_if_true argument), the IF function returns the value 0 (zero).

18 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Description: The IF function returns one value if a condition you specify evaluates to TRUE, and another value if that condition evaluates to FALSE. Remarks: Up to 7 IF functions can be nested as value_if_true and value_if_false arguments to construct more elaborate tests. (2003) Up to 64 IF functions can be nested as value_if_true and value_if_false arguments to construct more elaborate tests. (2007) If any of the arguments to IF are arrays, every element of the array is evaluated when the IF statement is carried out. Errors: None

19 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions value_if_true  [value_if_false]

20 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Logical Functions Q. Which students will receive the Dean’s List Award for the semester? The award is given to students with a 3.5 or better GPA. A. =IF(B2>=3.5, “Dean’s List”, “No Award”), etc.

21 © 2010 REACH All Rights Reserved. Microsoft  Excel  Information Functions ISBLANK =ISBLANK(value) ISNUMBER =ISNUMBER(value)

22 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Syntax: =ISBLANK(value) Arguments: value Required  The value that you want tested

23 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Description: Returns TRUE if value refers to a blank cell. Remarks: The value arguments of the IS functions are not converted Any numeric values that are enclosed in double quotation marks are treated as text. The IS functions are useful in formulas for testing the outcome of a calculation Errors: None

24 © 2010 REACH All Rights Reserved.

25 Microsoft ® Excel ® Information Functions Syntax: =ISNUMBER(value) Arguments: value Required  The value that you want tested

26 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Description: Returns TRUE if value refers to a number. Remarks: The value arguments of the IS functions are not converted Any numeric values that are enclosed in double quotation marks are treated as text. The IS functions are useful in formulas for testing the outcome of a calculation Errors: None

27 © 2010 REACH All Rights Reserved.

28 Microsoft ® Excel ® Information Functions Syntax: =ISERR(value) Arguments: value Required  The value that you want tested

29 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Description: Returns TRUE if value refers to any error value except #N/A. Remarks: The value arguments of the IS functions are not converted Any numeric values that are enclosed in double quotation marks are treated as text. The IS functions are useful in formulas for testing the outcome of a calculation Errors: None

30 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Syntax: =ISERROR(value) Arguments: value Required  The value that you want tested

31 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Description: Returns TRUE if value refers to any error value: #N/A#VALUE!#REF!#DIV/0! #NUM!#NAME?#NULL! Remarks: The value arguments of the IS functions are not converted Any numeric values that are enclosed in double quotation marks are treated as text. The IS functions are useful in formulas for testing the outcome of a calculation Errors: None

32 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Syntax: =ISNA(value) Arguments: value Required  The value that you want tested

33 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions Description: Returns TRUE if value refers to the #N/A (value not available) error value. Remarks: The value arguments of the IS functions are not converted Any numeric values that are enclosed in double quotation marks are treated as text. The IS functions are useful in formulas for testing the outcome of a calculation Errors: None

34 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions

35 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Information Functions

36 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Mathematical Functions Syntax: =SUMIF(range, criteria, [sum_range]) Arguments: range Required  The range of cells that you want evaluated by criteria. o Cells in each range must be numbers or names, arrays, or references that contain numbers. o Blank and text values are ignored.  criteria Required  The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. o Criteria can be expressed as 32, ">32", B5, "32", "apples", or TODAY(). sum_range Optional  The actual cells to add, if you want to add cells other than those specified in the range argument. o Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied).

37 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Mathematical Functions Description: Sums the values in a range that meet criteria that you specify. Remarks: See the Microsoft ® Excel ® help for additional remarks. Errors: None

38 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Mathematical Functions

39 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Mathematical Functions Q. What is the total amount spent over budget for all the groups? What is the total amount spent under budget for all the groups? A.=SUMIF(D2:D8, “>0”, D2:D8) (for over budget) =-SUMIF(D2:D8, “<0”, D2:D8) (for under budget)

40 © 2010 REACH All Rights Reserved. Microsoft  Excel  Statistical Functions AVERAGEIF =AVERAGEIF(range, criteria, [average_range]) COUNTIF =AVERAGEIF(range, criteria, [average_range]) COUNTA =COUNTA(value1, [value2],...) MAX =MAX(number1,[number2],...) MIN =MIN(number1,[number2],...) LARGE =LARGE(array,k) SMALL =LARGE(array,k)

41 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Syntax: =AVERAGEIF(range, criteria, [average_range]) Arguments: range Required  One or more cells to average, including numbers or names, arrays, or references that contain numbers. criteria Required  The criteria in the form of a number, expression, cell reference, or text that defines which cells are averaged. average_range Optional  The actual set of cells to average.

42 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Description: Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria. Remarks: If average_range is omitted, range is used. Cells in range that contain TRUE or FALSE are ignored. If a cell in average_range is an empty cell, AVERAGEIF ignores it. If a cell in criteria is empty, AVERAGEIF treats it as a 0 value. Errors: #DIV/0 – If range is a blank or text value. #DIV/0 – If no cells in the range meet the criteria.

43 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions =AVERAGEIF(B2:B5,"<23000")

44 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions =AVERAGEIF(B2:B5,"<23000") =14000

45 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions =AVERAGEIF(A2:A5,"<95000")

46 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions =AVERAGEIF(A2:A5,"<95000") =#DIV/0

47 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions =AVERAGEIF(A2:A5,">250000",B2:B5)

48 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions =AVERAGEIF(A2:A5,">250000",B2:B5) =24500

49 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Q. What is the average earnings of employees making more than 50,000? A.=AVERAGEIF(B2:B5, “>50000”)

50 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Syntax: =COUNTIF(range, criteria) Arguments: range Required  One or more cells to count, including numbers or names, arrays, or references that contain numbers. o Blank and text values are ignored.  criteria Required  A number, expression, cell reference, or text string that defines which cells will be counted. o Criteria can be expressed as 32, ">32", B4, "apples", or "32".

51 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Description: Counts the number of cells within a range that meet a single criterion that you specify. Remarks: See the Microsoft ® Excel ® help for additional remarks. Criteria are case insensitive Errors: None

52 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions

53 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Q. How many C’s were earned in the class? A. =COUNTIF(A2:A21, “C”)= 4

54 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Syntax: =COUNTA(value1, [value2],...) Arguments: value1 Required  The first argument representing the values that you want to count. value2,... Optional  Additional arguments representing the values that you want to count, up to a maximum of 255 arguments.

55 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Description: Counts the number of cells that are not empty in a range. Remarks: Counts cells containing any type of information, including error values and empty text ("“). The COUNTA function does not count empty cells. Errors: None

56 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions =COUNTA(A1:A8) = 6

57 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Syntax: =MAX(number1,[number2],...) Arguments: number1, number2,... Required  1 to 255 numbers for which you want to find the maximum value.

58 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Description: Returns the largest value in a set of values. Remarks: Arguments can either be numbers or names, arrays, or references that contain numbers. Logical values and text representations of numbers that you type directly into the list of arguments are counted. If an argument is an array or reference, only numbers in that array or reference are used. Empty cells, logical values, or text in the array or reference are ignored. If the arguments contain no numbers, MAX returns 0 (zero). Errors: Arguments that are error values or text that cannot be translated into numbers cause errors.

59 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions

60 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Syntax: =MIN(number1,[number2],...) Arguments: number1, number2,... Required  1 to 255 numbers for which you want to find the minimum value.

61 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Description: Returns the smallest value in a set of values. Remarks: Arguments can either be numbers or names, arrays, or references that contain numbers. Logical values and text representations of numbers that you type directly into the list of arguments are counted. If an argument is an array or reference, only numbers in that array or reference are used. Empty cells, logical values, or text in the array or reference are ignored. If the arguments contain no numbers, MIN returns 0 (zero). Errors: Arguments that are error values or text that cannot be translated into numbers cause errors.

62 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions

63 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Syntax: =LARGE(array,k) Arguments: array Required  The array or range of data for which you want to determine the k-th largest value.  k Required  The position (from the largest) in the array or cell range of data to return.

64 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Description: Returns the k-th largest value in a data set. Remarks: If n is the number of data points in a range, then LARGE(array,1) returns the largest value. If n is the number of data points in a range, then LARGE(array,n) returns the smallest value. Errors: #NUM! – If array is empty #NUM! – If k ≤ 0 #NUM! – If k is greater than the number of data points

65 =LARGE(array,k) 3rd largest number in the numbers in columns A and B

66 =LARGE(array,k) =LARGE(A2:B6 3rd largest number in the numbers in columns A and B

67 =LARGE(array,k) =LARGE(A2:B6,3) 3rd largest number in the numbers in columns A and B

68 =LARGE(array,k) =LARGE(A2:B6,3) 3rd largest number in the numbers in columns A and B List the numbers in descending order: 7 6 5 4 3 2 =5

69 =LARGE(array,k) 7th largest number in the numbers in columns A and B

70 =LARGE(array,k) =LARGE(A2:B6 7th largest number in the numbers in columns A and B

71 =LARGE(array,k) =LARGE(A2:B6,7) 7th largest number in the numbers in columns A and B

72 =LARGE(array,k) =LARGE(A2:B6,7) 7th largest number in the numbers in columns A and B List the numbers in descending order: 7 6 5 4 3 2

73 =LARGE(array,k) =LARGE(A2:B6,7) 7th largest number in the numbers in columns A and B List the numbers in descending order: 7 6 5 4 3 2 =4

74 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Syntax: =SMALL(array,k) Arguments: array Required  The array or range of data for which you want to determine the k-th smallest value.  k Required  The position (from the smallest) in the array or cell range of data to return.

75 © 2010 REACH All Rights Reserved. Microsoft ® Excel ® Statistical Functions Description: Returns the k-th smallest value in a data set. Remarks: If n is the number of data points in a range, then SMALL(array,1) returns the smallest value. If n is the number of data points in a range, then SMALL(array,n) returns the largest value. Errors: #NUM! – If array is empty #NUM! – If k ≤ 0 #NUM! – If k is greater than the number of data points

76 =SMALL(array,k) 4th smallest number in first column

77 =SMALL(array,k) =SMALL(A2:A10 4th smallest number in first column

78 =SMALL(array,k) =SMALL(A2:A10,4) 4th smallest number in first column List the numbers in ascending order: 2 3 4 5 6 7

79 =SMALL(array,k) =SMALL(A2:A10,4) 4th smallest number in first column List the numbers in ascending order: 2 3 4 5 6 7 =4

80 =SMALL(array,k) 2nd smallest number in second column

81 =SMALL(array,k) =SMALL(B2:B10 2nd smallest number in second column

82 =SMALL(array,k) =SMALL(B2:B10,2) 2nd smallest number in second column List the numbers in ascending order: 1 3 4 7 8 12 23 54

83 =SMALL(array,k) =SMALL(B2:B10,2) 2nd smallest number in second column =3 List the numbers in ascending order: 1 3 4 7 8 12 23 54

84 © 2010 REACH All Rights Reserved. Microsoft  Excel  Lookup Functions VLOOKUP =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

85 © 2010 REACH 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.

86 © 2010 REACH 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.

87 © 2010 REACH 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

88 © 2010 REACH All Rights Reserved. =VLOOKUP(“CPU”,A1:F9,5,FALSE) 12345

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

90 © 2010 REACH 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.

91 © 2010 REACH 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.

92 © 2010 REACH All Rights Reserved. =VLOOKUP(“Retail Value”,A1:F9,7,FALSE)

93 © 2010 REACH All Rights Reserved. Q. How many motherboards did they sell? A. =VLOOKUP(“Quantity”,A1:F9,6,FALSE)

94 © 2010 REACH 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

95 © 2010 REACH 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”)


Download ppt "CIS300 Test Review REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010."

Similar presentations


Ads by Google