VLOOKUP Finds an entry from a vertical array based on a criteria =VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup]) lookup_value: criteria to lookup or “match” table_array: the range or boundary of your table (excluding headings) Leftmost column should contain the table range Rightmost column should contain the value col_index_num: the column number in your range that contains the corresponding data range_lookup: True: Finds the exact match or the next lower value in your table array False: Finds an exact match in your table array Vlookup & Hlookup
RANGE LOOKUP ARGUMENT TRUE FALSE Leftmost column must be in ascending order Finds an exact match in your table array or finds the lowest value without going over Beginning value in table array must be the lowest value of a lookup value. FALSE Finds the exact match in your table array Vlookup & Hlookup
HLOOKUP Finds an entry from a horizontal array based on a criteria =HLOOKUP(lookup_value,table_array,row_index_num,[range_lookup]) lookup_value: criteria to lookup or “match” table_array: the range or boundary of your table (excluding headings) row_index_num: the column number in your range that contains the corresponding data range_lookup: True: Finds an exact match in your table array or Finds the lowest value without going over False: Finds an exact match in your table array Vlookup & Hlookup
Vlookup & Hlookup
Vlookup & Hlookup
Vlookup & Hlookup
=VLOOKUP(C7,A$3:D$5,IF(B7<C$2,2,IF(B7<D$2,3,4)),FALSE) Write a formula in cell D7, to calculate shipping cost based on the number of items and the type of shipping, (Standard, 2-Day, 1-Day) Number of Books 1-9 10-19 >=20 =VLOOKUP(C7,A$3:D$5,IF(B7<C$2,2,IF(B7<D$2,3,4)),FALSE) Vlookup & Hlookup
Write a formula in cell D7, to calculate the Shipping Cost based on the following criteria. IF(SHIPPING COST PER BOOK > SHIPPING COST PER SHIPMENT, USE THE PER SHIPMENT COST, PER ITEM SHIPPING COST * NUMBER OF BOOKS) =IF(VLOOKUP(C7,A$3:C$5,2,FALSE)*B7>VLOOKUP(C7,A$3:C$5,3,FALSE), VLOOKUP(C7,A$3:C$5,3,FALSE),(VLOOKUP(C7,A$3:C$5,2,FALSE)*B7)) Vlookup & Hlookup
=HLOOKUP(B5,B$2:D$3,2,TRUE)*B5+B5 Write a formula in cell C5, to calculate the property rent with the rate increase. Rate Increase < $700 7% < $1,000 5% >=$1,000 3% =HLOOKUP(B5,B$2:D$3,2,TRUE)*B5+B5 Vlookup & Hlookup
IFERROR Returns a value you specify if a formula evaluates to an error, otherwise it returns the result of the formula =IFERROR(value,value_if_error) Vlookup & Hlookup
Vlookup & Hlookup