Presentation is loading. Please wait.

Presentation is loading. Please wait.

CIS 100 Test #3 Review REACH Computer Resource Center.

Similar presentations


Presentation on theme: "CIS 100 Test #3 Review REACH Computer Resource Center."— Presentation transcript:

1 CIS 100 Test #3 Review REACH Computer Resource Center

2 PowerPoint  Will be available at 12:00 (Noon) on Tuesday 3/22  http://reach.louisville.edu/tutoring/compu ter/cistestreviews.html

3 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.

4 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

5 Microsoft ® Excel ® Logical Functions 

6 Microsoft ® Excel ® Logical Functions 

7 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.

8 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

9 Microsoft ® Excel ® Logical Functions  

10 Microsoft ® Excel ® Logical Functions Syntax: =NOT(logical) Arguments: logical Required  A value or expression that can be evaluated to TRUE or FALSE.

11 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

12 Microsoft ® Excel ® Logical Functions

13 AND/OR/NOT  Follow the Parentheses as a Guide!  If several nested functions exist, try starting in the middle, working your way out, then read from left to right.  (Assume A4=50)  NOT(AND(A4>50, A4<70))  =True

14 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.

15 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.

16 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).

17 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.

18 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

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

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

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

22 =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

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

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

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

26 =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

27 =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

28 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.

29 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

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

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

32 =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

33 =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

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

35 =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

36 =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

37 Things to Remember….  If the question asks for the 2 nd, 3 rd, 4 th …. Biggest or smallest, what function?  Rounding to the nearest dollar?  If a condition requires “Any” or “All”, what function will you most likely use?  If the questions says your answer “must be copied down” what is that referring to?  When nesting an IF statement with AND/OR/NOT, which goes first?  Be careful: Is the questions asking for a formula or the actual answer?

38 Sort and Filter  http://reach.louisville.edu/tutoring/computer/ci stestreviews.html http://reach.louisville.edu/tutoring/computer/ci stestreviews.html  Download “CIS 300 Excel Problems”

39 Practice Question  Question (Excel) A suburban gas company gives a discount on propane heating fuel to residential customers based on the quantity purchased. Write a formula which calculates the correct price to charge a customer based on the following conditions:  · no discount (zero dollars off the total amount due) if the customer purchases less than 500 gallons of propane  · a five percent discount on all fuel purchased if the customer buys less than 2,000 gallons of propane  · a ten percent discount on all fuel purchased if the customer buys 2,000 gallons or more of propane Assume that cell A1 shows the total quantity (in gallons) of propane purchased and cell B1 is the price per gallon. The formula should calculate the total amount that the customer should pay, after discount (if any) has been applied. Answer  =IF(A1<500,A1*B1,IF(A1<2000,A1*B1*.95,A1*B1*.90)) =IF(A1<500, A1*B1, IF(A1<2000, A1*B1*.95, A1*B1*.90)) =A1*IF(A1<500,B1,IF(A1<2000,B1*0.95,B1*0.90))

40 Practice Question  Question (Excel) Review the accompanying workheet image containing employee information and then provide an answer in the blank space below.  Salespeople who have been employed for more than six years and have annual sales of more than $22,000 are to be assigned a job level code of 2. All other employees should be assigned a job level code of 1.  Without using a nested IF statement, create a formula in cell E2 that will assign an appropriate job level for Linda. The formula must then be copied down the entire column so that it will work for all of the other employees. Answer=IF(AND(C2>22000,D2>6),2,1)

41 Practice Question  Question (Excel) Carefully examine the accompanying worksheet image. Airline passengers may have to pay a separate fee for checked bags at the time they obtain a boarding pass for their initial flight. If cell A1 contains the number of checked bags, provide a formula using only the cell references in the accompanying table that will correctly determine any baggage handling fee(s) that passengers must pay for their luggage. Note: The fee for the second bag is in addition to that charged for the first piece of checked luggage.  Answer =IF(A1=B4,C4,IF(A1=B5,C4+C5,C3))

42 EXCEL PRACTICE  Question (Excel) What value is returned in a worksheet when the following formula is evaluated? =OR(25 < 24, MIN(1, 10) < 2, 3 <= 2 + 1) Answer  TRUE  FALSE  numeric error  None of the answers provided are correct

43 Question (Excel) Open the attached template file and examine the data closely. What would be the result of the following Excel formula? =IF(LARGE(D5:D9, 2) < SMALL(C5:C9, 2), "D5", D7) Answer 55 65 D5 D7 None of the answers provided is correct

44 EXCEL Practice  What is the result of evaluating the following formulas?  (a) =IF(AND(6>3,3>8,2>7),"Access","Excel")  Excel  (b) =IF(OR(1>3,8>2),"yes",5)  Yes  (c) =IF(OR(AND(4>2,2>3),OR(8>7,4>5)),7,9) 77  (d) =IF(AND(6>3,4>7),IF(5>2,8,7),IF(5>3,3,9)) 33


Download ppt "CIS 100 Test #3 Review REACH Computer Resource Center."

Similar presentations


Ads by Google