LOOKUP FUNCTIONS Excel Lesson 10
LOOKUP FUNCTIONS Allow the user to find data in other cells in the spreadsheet and place them in the current cell VLOOKUP: runs vertical when searching for data to retrieve HLOOKUP: runs horizontal when searching for data to retrieve
VLOOKUP =VLOOKUP(lookup_value,table_array,col_index_Num,[Range_Lookup]) Lookup_Value: cell that you are going to compare to the table Comparing B2 (Product Number) to the table in columns I, J, and K
VLOOKUP =VLOOKUP(lookup_value,table_array,col_index_Num,[Range_Lookup]) Table_Array: table you are going to use to find your information
VLOOKUP =VLOOKUP(lookup_value,table_array,col_index_Num,[Range_Lookup]) Col_Index_Num: refers to what column is in the table (use 1,2,3) We are trying to figure out the Type of Product, which is in Column 2 of the table Column 1Column 2Column 3
VLOOKUP =VLOOKUP(lookup_value,table_array,col_index_Num,[Range_Lookup]) Range_Lookup: can only be true or false Use False if you want an exact match Use True if you want a similar match
VLOOKUP The result will appear in cell C2 =VLOOKUP(B2,I2:K8,2,FALSE)
HLOOKUP =HLOOKUP(Lookup_Value,Table_Array,Row_Index_ Num,[Range_Lookup]) Row_Index_Num refers to the row number
IF STATEMENT Conditional formula that allows the user to put certain data in a cell if it meets certain criteria =IF(logical_test,[value_if_true],[value_if_false]) =if(b10>=20,”Yes”,”No”) If the value for true or false is text, you must place quotation marks around the text
SOURCE Microsoft Official Academic Course Microsoft Excel John Wiley & Sons, Inc., 2014.