Upload
kerry-murphy
View
220
Download
0
Tags:
Embed Size (px)
Citation preview
MIS: Chapter 6,7,8,10: Data Base and Data Warehouses
Cumulative concepts, features and functions, plus new functions
COUNTIFS, SUMIFS, AVERAGEIFS (Separate ppt on REACH.louisville.edu)
All assigned course Homework and Lab Assignments
•Lookup Functions•VLOOKUP•HLOOKUP•INDEX-MATCH
•Text Functions•FIND•LEFT•LEN•RIGHT•MID•UPPER•LOWER•PROPER•TRIM •CONCATENATE
•Date & Time Functions•YEARFRAC•DATE•YEAR•MONTH•DAY•DATEDIF
•Database Functions•DAVERAGE•DCOUNT•DMAX•DMIN•DSUM
•Error Functions•IFERROR
Microsoft® Excel® Date Functions
Syntax:
=YEARFRAC(start_date,end_date,[basis])
Arguments:•start_date Required
A date that represents the start date.
•end_date RequiredA date that represents the end date.
•basis OptionalThe type of day count basis to use.
Microsoft® Excel® Date Functions
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
=YEARFRAC(A2,A3,A4)
What is the fraction of the year between the two dates?
Microsoft® Excel® Date Functions
=YEARFRAC(A2,A3,A4)=0.583333333
What is the fraction of the year between the two dates?
Microsoft® Excel® Date Functions
Syntax:
=DATE(year,month,day)
Arguments:•year Required
The year of the date you want to output.
•month RequiredThe month of the date you want to output.
•day RequiredThe day of the date you want to output.
Microsoft® Excel® Date Functions
=DATE (B1,B2,B3)=2/20/2012
What is the date using the information give below?
Microsoft® Excel® Date Functions
Syntax:
=YEAR(serial_number)
Arguments:•year Required
The date you wish to find the year of.
Microsoft® Excel® Date Functions
Syntax:
=MONTH(serial_number)
Arguments:•serial_number Required
The date you wish to find the month of.
Microsoft® Excel® Date Functions
Syntax:
=DAY(serial_number)
Arguments:•year Required
The date you wish to find the day of.
Microsoft® Excel® Date Functions
=YEAR(A1)=2035
What is the year, month, and day of the date below?
=MONTH(A1)=5
=DAY(A1)=29
CELL A1 - 5/29/2035
Microsoft® Excel® Date Functions
Syntax:
=DATEDIF(startdate,enddate,interval)
Arguments:•startdate Required
A date that represents the start date.
•enddate RequiredA date that represents the end date.
•interval RequiredThe type of day count basis to use.
Microsoft® Excel® Date Functions
Syntax:
=DATEDIF(startdate,enddate,interval)
Arguments:•interval Required
The type of day count basis to use.
Microsoft® Excel® Date Functions
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
=DATEDIF(A2,A3,”d”)
What is the difference in days between the two dates?
Microsoft® Excel® Date Functions
=DATEDIF(A2,A3,”d”)=210
What is the difference in days between the two dates?
FIND=FIND(find_text,within_text,[start_num])
LEFT=LEFT(text,[num_chars])
LEN=LEN(text)
RIGHT=RIGHT(text,[num_chars])
UPPER=UPPER(text)
LOWER=LOWER(text)
PROPER=PROPER(text)
CONCATENATE ((including &)=CONCATENATE(text1, [text2], ...)
Microsoft® Excel® Text Functions
Syntax:
=FIND(find_text,within_text,[start_num])
Arguments:•find_text Required
The text you want to find.
•within_text RequiredThe text string containing the text you want to find.
•start_num OptionalSpecifies the character at which to start the search.
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).
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
Microsoft® Excel® Text Functions
A
11 Miriam McGovern
=FIND(“M”,A11)=1
Microsoft® Excel® Text Functions
A
11 Miriam McGovern
=FIND(“M”,A11,3)=8
Microsoft® Excel® Text Functions
A
11 Miriam McGovern
=FIND(“m”,A11)=6
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 OptionalSpecifies the number of characters you want LEFT to extract.
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.
Microsoft® Excel® Text Functions
A
1 Data
2 Sale Price
=LEFT(A2,4)=Sale
Microsoft® Excel® Text Functions
A
1 Data
2 Sale Price
3 Sweden
=LEFT(A3)=S
Microsoft® Excel® Text Functions
Syntax:
=LEN(text)
Arguments:•text Required
The text whose length you want to find.
Microsoft® Excel® Text Functions
Description:•Returns the number of characters in a text string.
Remarks:•Spaces count as characters.
Microsoft® Excel® Text Functions
A
1 Data
2 Phoenix, AZ
3
4
5
6 One
=LEN(A2)=11
Microsoft® Excel® Text Functions
A
1 Data
2 Phoenix, AZ
3
4
5
6 One
=LEN(A4)=0
Microsoft® Excel® Text Functions
A
1 Data
2 Phoenix, AZ
3
4
5
6 One
=LEN(A6)=8
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 OptionalSpecifies the number of characters you want RIGHT to extract.
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.
Microsoft® Excel® Text Functions
A
1 Data
2 Sale Price
3
4 Stock Number
=RIGHT(A2,5)=Price
Microsoft® Excel® Text Functions
A
1 Data
2 Sale Price
3
4 Stock Number
=RIGHT(A2,LEN(A2)-FIND(“ “,A2))=RIGHT(A2,10-5)=RIGHT(A2,5)=Price
Microsoft® Excel® Text Functions
A
1 Data
2 Sale Price
3
4 Stock Number
=RIGHT(A4)=r
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 RequiredSpecifies the number of character you want to start extracting from.
•text RequiredSpecifies the number of characters you want to extract.
Microsoft® Excel® Text Functions
=MID(A1,11,6)=string
=MID(A3,4,2)=is
Microsoft® Excel® Text Functions
Syntax:
=UPPER(text)
Arguments:•text Required
The text you want converted to uppercase.
Microsoft® Excel® Text Functions
Description:•Converts text to uppercase.
Remarks:•Text can be a reference or text string.
Microsoft® Excel® Text Functions
=UPPER(A2)=TOTAL
Microsoft® Excel® Text Functions
=UPPER(A3)=YIELD
Microsoft® Excel® Text Functions
Syntax:
=LOWER(text)
Arguments:•text Required
The text you want converted to lowercase.
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.
Microsoft® Excel® Text Functions
=LOWER(A2)=e.e. cummings
Microsoft® Excel® Text Functions
=LOWER(A3)=apt. 2b
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.
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.
Microsoft® Excel® Text Functions
=PROPER(A2)=This Is A Title
Microsoft® Excel® Text Functions
=PROPER(A3)=2-Cent’S Worth
Microsoft® Excel® Text Functions
=PROPER(A4)=76Budget
Microsoft® Excel® Text Functions
Syntax:
=TRIM(text)
Arguments:•text Required
text is the text value to remove the leading and trailing spaces from.
Microsoft® Excel® Text Functions
Microsoft® Excel® Text Functions
Syntax:
=CONCATENATE(text1, [text2], ...)
Arguments:•text1 Required
The first text item to be concatenated.
•text2 OptionalAdditional text items, up to a maximum of 255 items, which must be separated by commas.
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.
Microsoft® Excel® Text Functions
A B C
1 Data Data Data
2 Brook trout
Andreas
Hauser
3 species Fourth Pine
4 32
=CONCATENATE(“Stream Population for “,A2,” “,A3, “ is “,A4,”/mile”)=Stream Population for Brook trout species is 32/mile
Microsoft® Excel® Text Functions
A B C
1 Data Data Data
2 Brook trout
Andreas
Hauser
3 species Fourth Pine
4 32
=CONCATENATE(B2, “ “, C2)=Andreas Hauser
Microsoft® Excel® Text Functions
A B C
1 Data Data Data
2 Brook trout
Andreas
Hauser
3 species Fourth Pine
4 32
=CONCATENATE(C2, “, “ , B2)=Hauser, Andreas
Microsoft® Excel® Text Functions
A B C
1 Data Data Data
2 Brook trout
Andreas
Hauser
3 species Fourth Pine
4 32
=CONCATENATE(B3, “ & “ , C3)=Fourth & Pine
Microsoft® Excel® Text Functions
A B C
1 Data Data Data
2 Brook trout
Andreas
Hauser
3 species Fourth Pine
4 32
=B3& “ & “ &C3 =Fourth & Pine
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)
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.
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
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)
The average yield of apple trees over 10 feet in height.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,"Yield",A1:B2)=12
The average yield of apple trees over 10 feet in height.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10,3,A4:E10)
The average age of all trees in the database.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)
The average age of all trees in the database.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)
The average age of all trees in the database.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)
The average age of all trees in the database.
Microsoft® Excel® Database Functions
=DAVERAGE(A4:E10, 3,A4:E10)=13
The average age of all trees in the database.
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)
The maximum profit of apple and pear trees.
Microsoft® Excel® Database Functions
=DMAX(A4:E10,"Profit",A1:A3)=105
The maximum profit of apple and pear trees.
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)
The minimum profit of apple trees over 10 in height.
Microsoft® Excel® Database Functions
=DMIN(A4:E10,"Profit",A1:B2)=75
The minimum profit of apple trees over 10 in height.
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.
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.
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.
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.
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.
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The total profit from apple trees.
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The minimum profit of apple trees over 10 in height.
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The minimum profit of apple trees over 10 in height.
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)
The minimum profit of apple trees over 10 in height.
Microsoft® Excel® Database Functions
=DSUM(A4:E10,"Profit",A1:A2)=225
The minimum profit of apple trees over 10 in height.
VLOOKUP=VLOOKUP(lookup_value, table_array, col_index_num,
[range_lookup])
INDEX=INDEX(array,row_num,[column_num])
MATCH=MATCH(lookup_value, lookup_array,
[match_type])
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 OptionalA logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match.
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.
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
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
(2) =VLOOKUP(IF(MIN(B6:F18)<>MAX(D3:G5), 38, 83), E11:G22,3)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
(5) =VLOOKUP(LARGE(D10:G17,4), $C$8:$F$20, 5, FALSE)
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(44*2, $B$8:$G$24, G18/E6, TRUE)
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(44*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, G18/E6, TRUE)
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(44*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, G18/E6, TRUE)
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(44*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, 66/E6, TRUE)
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(44*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, 66/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, 66/11, TRUE)
(1) =VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(44*2, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, G18/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, 66/E6, TRUE)
=VLOOKUP(88, $B$8:$G$24, 66/11, TRUE)
=VLOOKUP(88, $B$8:$G$24, 6, TRUE)
(2) =VLOOKUP(IF(MIN(B6:F18)<>MAX(D3:G5), 38, 83), E11:G22,3)
(2) =VLOOKUP(IF(MIN(B6:F18)<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>MAX(D3:G5), 38, 83), E11:G22,3)
(2) =VLOOKUP(IF(MIN(B6:F18)<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>11, 38, 83), E11:G22,3)
(2) =VLOOKUP(IF(MIN(B6:F18)<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>11), 38, 83), E11:G22,3)
=VLOOKUP(IF(FALSE, 38, 83), E11:G22,3)
(2) =VLOOKUP(IF(MIN(B6:F18)<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>11), 38, 83), E11:G22,3)
=VLOOKUP(IF(FALSE, 38, 83), E11:G22,3)
=VLOOKUP(83, E11:G22,3)
(2) =VLOOKUP(IF(MIN(B6:F18)<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>MAX(D3:G5), 38, 83), E11:G22,3)
=VLOOKUP(IF(11<>11), 38, 83), E11:G22,3)
=VLOOKUP(IF(FALSE, 38, 83), E11:G22,3)
=VLOOKUP(83, E11:G22,3)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*B6/G3, $C$8:$F$20, 3, FALSE)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*18/G3, $C$8:$F$20, 3, FALSE)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*18/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(306/G3, $C$8:$F$20, 3, FALSE)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*18/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(306/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(306/6, $C$8:$F$20, 3, FALSE)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*18/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(306/6, $C$8:$F$20, 3, FALSE)
=VLOOKUP(51, $C$8:$F$20, 3, FALSE)
(3) =VLOOKUP(MAX(B3:G4)*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*B6/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(17*18/G3, $C$8:$F$20, 3, FALSE)
=VLOOKUP(306/6, $C$8:$F$20, 3, FALSE)
=VLOOKUP(51, $C$8:$F$20, 3, FALSE)
#N/A
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(11*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(11*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(11*5, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(11*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(11*5, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(55, C8:F20, IF(1000>SUM(F3:F24), 2, 4))
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(11*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(11*5, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
=VLOOKUP(55, C8:F20, IF(1000>SUM(F3:F24), 2, 4))
=VLOOKUP(55, C8:F20, IF(1000>924, 2, 4))
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
…
=VLOOKUP(55, C8:F20, IF(1000>924, 2, 4))
=VLOOKUP(55, C8:F20, IF(TRUE, 2, 4))
=VLOOKUP(55, C8:F20, 2)
(4) =VLOOKUP(C3*E3, C8:F20, IF(SUM(B3:B24)>SUM(F3:F24), 2, 4))
…
=VLOOKUP(55, C8:F20, 2)
(5) =VLOOKUP(LARGE(D10:G17,4), $C$8:$F$20, 5, FALSE)
(5) =VLOOKUP(LARGE(D10:G17,4), $C$8:$F$20, 5, FALSE)
=VLOOKUP(58, $C$8:$F$20, 5, FALSE)
(5) =VLOOKUP(LARGE(D10:G17,4), $C$8:$F$20, 5, FALSE)
=VLOOKUP(58, $C$8:$F$20, 5, FALSE)
#REF!
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 row of the table or range.•table_array Required
The range of cells that contains the data. •row_index_num Required
The row number in table_array from which the matching value will be returned
range_lookup OptionalA logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match.
Microsoft® Excel® Lookup Functions
Description:• Searches for a value in the top row of a table or an array of values, and then returns a value in the same column from a row you specify in the table or array.
Remarks:• If HLOOKUP can't find lookup_value, and range_lookup is TRUE, it uses the largest value that is less than lookup_value.
• If lookup_value is smaller than the smallest value in the first row of table_array, HLOOKUP returns the #N/A error value.
Microsoft® Excel® Lookup Functions
Errors:#VALUE! – If row_index_num is less than 1
#REF! – If row_index_num is greater than the number of rows 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 row of table_array
A B C1 Axles Bearing Bolts2 4 4 93 5 7 104 6 8 11
FormulaDescription (Result)Looks up Axles in row 1, and returns the value from row 2 that's in the same column. (4)=HLOOKUP("Axles",A1:C4,2,TRUE)
=HLOOKUP("Bearings",A1:C4,3,FALSE)Looks up Bearings in row 1, and returns the value from row 3 that's in the same column. (7)
=HLOOKUP("B",A1:C4,3,TRUE)Looks up B in row 1, and returns the value from row 3 that's in the same column. Because B is not an exact match, the next largest value that is less than B is used: Axles. (5)
=HLOOKUP("Bolts",A1:C4,4)Looks up Bolts in row 1, and returns the value from row 4 that's in the same column. (11)
Microsoft® Excel® Lookup Functions
Syntax:
=INDEX(array,row_num,[column_num])
Arguments:•array Required
A range of cells or an array constant.
•row_num OptionalSelects the row in array from which to return a value.
oIf row_num is omitted, column_num is required.
•column_num OptionalSelects the column in array from which to return a value.
oIf column_num is omitted, row_num is required.
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
Microsoft® Excel® Lookup Functions
Syntax:
=MATCH(lookup_value, lookup_array, [match_type])
Arguments:•lookup_value Required
The value that you want to match in lookup_array.
•lookup_array RequiredThe range of cells being searched.
•match_type OptionalSpecifies how Excel matches lookup_value with values in lookup_array.
oThe number -1, 0, or 1
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
Microsoft® Excel® Lookup Functions
Value
Behavior Restrictions
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.
0MATCH finds the first value that is exactly equal to lookup_value.
None
-1
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
Microsoft® Excel® Lookup Functions
Microsoft® Excel® Lookup Functions
Syntax:
=IFERROR(value,value_if_error)
Arguments:•value Required
is the argument that is checked for an error.
•value_if_error Requiredis the value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!