Presentation is loading. Please wait.

Presentation is loading. Please wait.

REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.

Similar presentations


Presentation on theme: "REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012."— Presentation transcript:

1 REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012

2 Lookup Functions INDEX MATCH Information Functions ISERROR Date & Time Functions DATEDIF YEARFRAC DATE YEAR DAY TODAY Text Functions FIND LEFT LEN RIGHT CONCATENATE UPPER LOWER PROPER MID TRIM Database Functions DAVERAGE DMAX DMIN DSUM DCOUNT

3 Lookup Functions

4 Microsoft ® Excel ® Lookup Functions Syntax: =INDEX(array,row_num,[column_num]) Arguments: array Required  A range of cells or an array constant. row_num Optional  Selects the row in array from which to return a value. o If row_num is omitted, column_num is required. column_num Optional  Selects the column in array from which to return a value. o If column_num is omitted, row_num is required.

5 Microsoft ® Excel ® Lookup Functions Description: Returns the value of an element in a table or an array, selected by the row and column number indexes. Remarks: If both the row_num and column_num arguments are used, INDEX returns the value in the cell at the intersection of row_num and column_num. Errors: #REF! – If row_num and column_num do not point to a cell within array

6 Microsoft ® Excel ® Lookup Functions

7 Syntax: =MATCH(lookup_value, lookup_array, [match_type]) Arguments: lookup_value Required  The value that you want to match in lookup_array. lookup_array Required  The range of cells being searched. match_type Optional  Specifies how Excel matches lookup_value with values in lookup_array. o The number -1, 0, or 1

8 Microsoft ® Excel ® Lookup Functions Description: Searches for a specified item in a range of cells, and then returns the relative position of that item in the range Remarks: The lookup_value argument can be a value (number, text, or logical value) or a cell reference to a number, text, or logical value. MATCH returns the position of the matched value within lookup_array, not the value itself. MATCH does not distinguish between uppercase and lowercase letters when matching text values. Errors: #N/A – If MATCH is unsuccessful in finding a match

9 Microsoft ® Excel ® Lookup Functions ValueBehaviorRestrictions 1 MATCH finds the largest value that is less than or equal to lookup_value. The values in the lookup_array argument must be placed in ascending order. 0 MATCH finds the first value that is exactly equal to lookup_value. None MATCH finds the smallest value that is greater than or equal to lookup_value. The values in the lookup_array argument must be placed in descending order. Default

10 Microsoft ® Excel ® Lookup Functions

11 Microsoft ® Excel ® Information Functions Description: A combination of INDEX and MATCH can be used as a form of table lookup. It is similar to the VLOOKUP and HLOOKUP function but more flexible. It is usually of the form: =INDEX(some_array, MATCH(some_value, some_array, criteria), [MATCH(some_value, some_array, criteria)])

12 Microsoft ® Excel ® Information Functions =INDEX(A1:B5,MATCH("Oranges",A1:A5,0),MATCH ("Count",A1:B1,0)) OR =INDEX(B1:B5, MATCH("Oranges",A1:A5,0)) How would you find the count of oranges using INDEX and MATCH?

13 Informational Functions

14 ISERROR =ISERROR(value) Microsoft ® Excel ® Information Functions

15 Syntax: =ISERROR(value) Arguments: value Required  The value that you want tested

16 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

17 Organizing Data for Effective Analysis

18 Microsoft ® Excel ® Date Functions Syntax: =DATE(year,month,day) Arguments: year Required  The year of the date you want to output. month Required  The month of the date you want to output. day Required  The day of the date you want to output.

19 =DATE (B1,B2,B3) =2/20/2012 Microsoft ® Excel ® Date Functions What is the date using the information give below?

20 Microsoft ® Excel ® Date Functions Syntax: =TODAY() Arguments: None

21 Description: Returns the serial number of the current date. Remarks: If the cell format was General before the function was entered, Excel changes the cell format to Date. If you want to view the serial number, you must change the cell format to General or Number. The TODAY function is useful when you need to have the current date displayed on a worksheet, regardless of when you open the workbook. The TODAY function is dependent on your computer’s system clock being correct. Errors: None Microsoft ® Excel ® Date Functions

22 =TODAY() Microsoft ® Excel ® Date Functions

23 =TODAY() Microsoft ® Excel ® Date Functions

24 Syntax: =YEAR(serial_number) Arguments: year Required  The date you wish to find the year of.

25 Microsoft ® Excel ® Date Functions Syntax: =DAY(serial_number) Arguments: year Required  The date you wish to find the day of.

26 =YEAR(A1) =2035 Microsoft ® Excel ® Date Functions What is the year, month, and day of the date below? =MONTH(A1) =5 =DAY(A1) =29 CELL A1 - 5/29/2035

27 Microsoft ® Excel ® Date Functions Syntax: =DATEDIF(startdate,enddate,interval) Arguments: startdate Required  A date that represents the start date. enddate Required  A date that represents the end date. interval Required  The type of day count basis to use.

28 Microsoft ® Excel ® Date Functions Syntax: =DATEDIF(startdate,enddate,interval) Arguments: interval Required  The type of day count basis to use.

29 Description: Computes the difference between two dates in a variety of different intervals. Remarks: If you have the interval in another cell referenced by the formula, that cell should not have quotes around the interval string. When calculating date intervals, DATEDIF uses the year of startdate, not enddate when calculating the yd, ym and md intervals Errors: #VALUE – If start_date or end_date are not valid dates #NUM! – If start date is not less than or equal to the end date Microsoft ® Excel ® Date Functions

30 =DATEDIF(A2,A3,”d”) Microsoft ® Excel ® Date Functions What is the difference in days between the two dates?

31 =DATEDIF(A2,A3,”d”) =210 Microsoft ® Excel ® Date Functions What is the difference in days between the two dates?

32 Microsoft ® Excel ® Date Functions Syntax: =YEARFRAC(start_date,end_date,[basis]) Arguments: start_date Required  A date that represents the start date. end_date Required  A date that represents the end date. basis Optional  The type of day count basis to use.

33 Description: Calculates the fraction of the year represented by the number of whole days between two dates (the start_date and the end_date). Remarks: Use the YEARFRAC worksheet function to identify the proportion of a whole year's benefits or obligations to assign to a specific term. Dates should be entered by using the DATE function, or as results of other formulas or functions. All arguments are truncated to integers. Errors: #VALUE – If start_date or end_date are not valid dates #NUM! – If basis < 0 #NUM! – If basis > 4 Microsoft ® Excel ® Date Functions

34 =YEARFRAC(A2,A3,A4) Microsoft ® Excel ® Date Functions What is the fraction of the year between the two dates?

35 =YEARFRAC(A2,A3,A4) =0.583333333 Microsoft ® Excel ® Date Functions What is the fraction of the year between the two dates?

36 Text Functions

37 FIND =FIND(find_text,within_text,[start_num]) LEFT =LEFT(text,[num_chars]) LEN =LEN(text) RIGHT =RIGHT(text,[num_chars]) CONCATENATECONCATENATE (including &) =CONCATENATE(text1, [text2],...) UPPER =UPPER(text) LOWER =LOWER(text) PROPER =PROPER(text) TRIM =TRIM(text)

38 Microsoft ® Excel ® Text Functions Syntax: =FIND(find_text,within_text,[start_num]) Arguments: find_text Required  The text you want to find. within_text Required  The text string containing the text you want to find. start_num Optional  Specifies the character at which to start the search.

39 Microsoft ® Excel ® Text Functions Description: Locates one text string within a second text string, and returns the number of the starting position of the first text string from the first character of the second text string Remarks: FIND always counts each character. The first character in within_text is character number 1. If you omit start_num, it is assumed to be 1. FIND is case sensitive. If find_text is "" (empty text), FIND matches the first character in the search string (that is, the character numbered start_num or 1).

40 Microsoft ® Excel ® Text Functions Errors: #VALUE! – If find_text does not appear in within_text #VALUE! – If start_num is not greater than zero #VALUE! – If start_num is greater than the length of within_text

41 Microsoft ® Excel ® Text Functions A 11Miriam McGovern =FIND(“M”,A11) =1

42 Microsoft ® Excel ® Text Functions A 11Miriam McGovern =FIND(“M”,A11,3) =8

43 Microsoft ® Excel ® Text Functions A 11Miriam McGovern =FIND(“m”,A11) =6

44 Microsoft ® Excel ® Text Functions Syntax: =LEFT(text,[num_chars]) Arguments: text Required  The text string that contains the characters you want to extract. num_chars Optional  Specifies the number of characters you want LEFT to extract.

45 Microsoft ® Excel ® Text Functions Description: Returns the first character or characters in a text string, based on the number of characters you specify Remarks: LEFT always counts each character. Num_chars must be => 0.

46 Microsoft ® Excel ® Text Functions A 1Data 2Sale Price =LEFT(A2,4) =Sale

47 Microsoft ® Excel ® Text Functions A 1Data 2Sale Price 3Sweden =LEFT(A3) =S

48 Microsoft ® Excel ® Text Functions Syntax: =LEN(text) Arguments: text Required  The text whose length you want to find.

49 Microsoft ® Excel ® Text Functions Description: Returns the number of characters in a text string. Remarks: Spaces count as characters.

50 Microsoft ® Excel ® Text Functions A 1Data 2Phoenix, AZ 3 4 5 6 One =LEN(A2) =11

51 Microsoft ® Excel ® Text Functions A 1Data 2Phoenix, AZ 3 4 5 6 One =LEN(A4) =0

52 Microsoft ® Excel ® Text Functions A 1Data 2Phoenix, AZ 3 4 5 6 One =LEN(A6) =8

53 Microsoft ® Excel ® Text Functions Syntax: =RIGHT(text,[num_chars]) Arguments: text Required  The text string that contains the characters you want to extract. num_chars Optional  Specifies the number of characters you want RIGHT to extract.

54 Microsoft ® Excel ® Text Functions Description: Returns the last character or characters in a text string, based on the number of characters you specify. Remarks: RIGHT always counts each character. Num_chars must be => 0.

55 Microsoft ® Excel ® Text Functions A 1Data 2Sale Price 3 4Stock Number =RIGHT(A2,5) =Price

56 Microsoft ® Excel ® Text Functions A 1Data 2Sale Price 3 4Stock Number =RIGHT(A2,LEN(A2)-FIND(“ “,A2)) =RIGHT(A2,10-5) =RIGHT(A2,5) =Price

57 Microsoft ® Excel ® Text Functions A 1Data 2Sale Price 3 4Stock Number =RIGHT(A4) =r

58 Microsoft ® Excel ® Text Functions Syntax: =MID(text,start_num,num_chars) Arguments: text Required  The text string that contains the characters you want to extract. start_num Required  Specifies the number of character you want to start extracting from. text Required  Specifies the number of characters you want to extract.

59 Microsoft ® Excel ® Text Functions =MID(A1,11,6) =string =MID(A3,4,2) =is

60 Microsoft ® Excel ® Text Functions Syntax: =CONCATENATE(text1, [text2],...) Arguments: text1 Required  The first text item to be concatenated. text2 Optional  Additional text items, up to a maximum of 255 items, which must be separated by commas.

61 Microsoft ® Excel ® Text Functions Description: Joins up to 255 text strings into one text string. Remarks: The joined items can be text, numbers, cell references, or a combination of those items.

62 Microsoft ® Excel ® Text Functions ABC 1Data 2Brook trout AndreasHauser 3speciesFourthPine 432 =CONCATENATE(“Stream Population for “,A2,” “,A3, “ is “,A4,”/mile”) =Stream Population for Brook trout species is 32/mile

63 Microsoft ® Excel ® Text Functions ABC 1Data 2Brook trout AndreasHauser 3speciesFourthPine 432 =CONCATENATE(B2, “ “, C2) =Andreas Hauser

64 Microsoft ® Excel ® Text Functions ABC 1Data 2Brook trout AndreasHauser 3speciesFourthPine 432 =CONCATENATE(C2, “, “, B2) =Hauser, Andreas

65 Microsoft ® Excel ® Text Functions ABC 1Data 2Brook trout AndreasHauser 3speciesFourthPine 432 =CONCATENATE(B3, “ & “, C3) =Fourth & Pine

66 Microsoft ® Excel ® Text Functions ABC 1Data 2Brook trout AndreasHauser 3speciesFourthPine 432 =B3& “ & “ &C3 =Fourth & Pine

67 Microsoft ® Excel ® Text Functions Syntax: =UPPER(text) Arguments: text Required  The text you want converted to uppercase.

68 Microsoft ® Excel ® Text Functions Description: Converts text to uppercase. Remarks: Text can be a reference or text string.

69 Microsoft ® Excel ® Text Functions =UPPER(A2) =TOTAL

70 Microsoft ® Excel ® Text Functions =UPPER(A3) =YIELD

71 Microsoft ® Excel ® Text Functions Syntax: =LOWER(text) Arguments: text Required  The text you want converted to lowercase.

72 Microsoft ® Excel ® Text Functions Description: Converts all uppercase letters in a text string to lowercase. Remarks: LOWER does not change characters in text that are not letters.

73 Microsoft ® Excel ® Text Functions =LOWER(A2) =e.e. cummings

74 Microsoft ® Excel ® Text Functions =LOWER(A3) =apt. 2b

75 Microsoft ® Excel ® Text Functions Syntax: =PROPER(text) Arguments: text Required  Text enclosed in quotation marks, a formula that returns text, or a reference to a cell containing the text you want to partially capitalize.

76 Microsoft ® Excel ® Text Functions Description: Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Remarks: PROPER converts all other letters to lowercase letters.

77 Microsoft ® Excel ® Text Functions =PROPER(A2) =This Is A Title

78 Microsoft ® Excel ® Text Functions =PROPER(A3) =2-Cent’S Worth

79 Microsoft ® Excel ® Text Functions =PROPER(A4) =76Budget

80 Microsoft ® Excel ® Text Functions Syntax: =TRIM(text) Arguments: text Required  text is the text value to remove the leading and trailing spaces from.

81 Microsoft ® Excel ® Text Functions =TRIM(A1) =“Tech on the Net” =TRIM(A2) =“1234”

82 Database Functions

83 DAVERAGE =DAVERAGE(database,field,criteria) DCOUNT =DCOUNT(database,field,criteria) DMAX =DMAX(database,field,criteria) DMIN =DMIN(database,field,criteria) DSUM =DSUM(database,field,criteria)

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

85 Microsoft ® Excel ® Database Functions Description: Averages the values in a field (column) of records in a list or database that match conditions you specify. Remarks: You can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label for specifying the condition Although the criteria range can be located anywhere on the worksheet, do not place the criteria range below the list Make sure the criteria range does not overlap the list To perform an operation on an entire column in a database, enter a blank line below the column labels in the criteria range. Errors: None specified

86 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

87 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

88 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

89 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) The average yield of apple trees over 10 feet in height.

90 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,"Yield",A1:B2) =12 The average yield of apple trees over 10 feet in height.

91 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10,3,A4:E10) The average age of all trees in the database.

92 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) The average age of all trees in the database.

93 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) The average age of all trees in the database.

94 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) The average age of all trees in the database.

95 Microsoft ® Excel ® Database Functions =DAVERAGE(A4:E10, 3,A4:E10) =13 The average age of all trees in the database.

96 Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

97 Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

98 Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

99 Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) The maximum profit of apple and pear trees.

100 Microsoft ® Excel ® Database Functions =DMAX(A4:E10,"Profit",A1:A3) =105 The maximum profit of apple and pear trees.

101 Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

102 Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

103 Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

104 Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) The minimum profit of apple trees over 10 in height.

105 Microsoft ® Excel ® Database Functions =DMIN(A4:E10,"Profit",A1:B2) =75 The minimum profit of apple trees over 10 in height.

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

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

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

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

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

111 Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The total profit from apple trees.

112 Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The minimum profit of apple trees over 10 in height.

113 Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The minimum profit of apple trees over 10 in height.

114 Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) The minimum profit of apple trees over 10 in height.

115 Microsoft ® Excel ® Database Functions =DSUM(A4:E10,"Profit",A1:A2) =225 The minimum profit of apple trees over 10 in height.


Download ppt "REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012."

Similar presentations


Ads by Google