Presentation is loading. Please wait.

Presentation is loading. Please wait.

REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.

Similar presentations


Presentation on theme: "REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013."— Presentation transcript:

1 REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013

2 Basic Table Lookup Functions VLOOKUP HLOOKUP Exception Handling ISERROR ISNA

3 VLOOKUP =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]) HLOOKUP =HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

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

5 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 exact or approximate match is returned. If range_lookup is FALSE, an exact match will be attempted, sorting not required

6 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

7 (1)=VLOOKUP(C11*2, $B$8:$G$24, G18/E6, TRUE)

8 =VLOOKUP(44*2, $B$8:$G$24, G18/E6, TRUE)

9 (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)

10 (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)

11 (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)

12 (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)

13 (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)

14 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 Optional  A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match.

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

16 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

17 ABC 1AxlesBearingBolts 2449 35710 46811 Formula Description (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)

18 ISERROR =ISERROR(value) ISNA =ISNA(value)

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

20 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

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

22 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

23 Microsoft ® Excel ® Information Functions

24


Download ppt "REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013."

Similar presentations


Ads by Google