Vlookup and Hlookup
VLOOKUP stands for 'Vertical Lookup'. It is a function that makes Excel search for a certain value in a column (the so called 'table array'), in order to return a value from a different column in the same row.
HLOOKUP function , the formula looks for the value of x in the table . It starts from the left corner of the table and looks for the value of x along the top row of the table , the index row .
Easy vartical data pulls in other sheets as per requirment.
=VLOOKUP (value, table, col_index, [range_lookup])
Using the Order number in column B as a lookup value, VLOOKUP can get the Customer ID, Amount, Name, and State for any order. For example, to get the customer name for order 1004, the formula is
VLOOKUP can only look to the right. The data you want to retrieve (result values) can appear in any column to the right of the lookup values
In most cases, you'll probably want to use VLOOKUP in exact match mode. This makes sense when you have a unique key to use as a lookup value, for example, the movie title in this data
The HLOOKUP function is otherwise known as the “Horizontal lookup function”. It does the same thing as the VLOOKUP function only that the lookup table is arranged horizontally. The HLOOKUP function looks up the value in the first row of the lookup table and returns the corresponding value in a specified table row. HLOOKUP supports approximate and exact matching, and wildcard characters (* ?~) for partial matches.
Comments
Post a Comment