Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Is it possible that Vlookup or Hlookup look over a value among two table arrays or more?

user-image
Question added by Ahmed Maher allam , Senior IT Consultant , CBK - G&D - AXIS-olutions
Date Posted: 2015/06/08
Shiham Mubarak
by Shiham Mubarak , Financial Analyst , Obeikan Investment Group

Use "&" formula for two (or more) vlookup/hlookup formulas with conjunction of IFERROR.

 

For instance if your two tables are D1:E4 and G1:H4 and the lookup value is in A1, use the following formula,

 

=IFERROR(VLOOKUP(A1,D1:E4,2,0),"")&IFERROR(VLOOKUP(A1,G1:H4,2,0),"")

 

Please post your email ID, so i can forward the excel for better understanding.

Jiju Oommen
by Jiju Oommen , ERP Software Consultant , Simplex IT Solutions

I think NO.

VLOOKUP function performs a vertical lookup by searching for a value in the left-most column of the table.

HLOOKUP is the exact same function, but looks up data that has been formatted by rows instead of columns.

 

 

Altaf Hussain
by Altaf Hussain , Senior Engineer

Yes! Vlookup is used to lookup values from a vertical column, whereas hlookup is used to get values from horizantal (row array);

both formulas can be used in a single formula, provided we should know what we are trying to achive.

for example:

=VLOOKUP("INDIA",K2:P9,HLOOKUP(2012,K2:P3,2,FALSE),FALSE)

Sanu Jacob
by Sanu Jacob , Payroll Accounts /HR , Value Manage

NO. We can use VLOOKUP and HLOOKUP for pulling the relative data which matches a single value. You give the data range from different sheets or tables.

 

VLOOKUPVLOOKUP is a function to lookup up and retrieve data in a table. The "V" in VLOOKUP stands for vertical, which means the data in the table must be arranged vertically, with data in rows. If you have a well structured table, with information arranged vertically, and a column on the left which you can use to match a row, you can probably use VLOOKUP.VLOOKUP requires that the table be structured so that lookup values appear in the left-most column. The data you want to retrieve (result values) can appear in any column to the right. When you use VLOOKUP, imagine that every column in the table is numbered, starting from the left. To get a value from a particular column, simply supply the appropriate number as the "column index". Syntax: =VLOOKUP (value, table, col_index, [range_lookup])HLOOKUPHLOOKUP searches for a value in the first row of a table. At the match column, it retrieves a value from the specified row. Use HLOOKUP when lookup values are located in the first row of a table. Use VLOOKUP when lookup values are located in the first column of a table.1.    Range_lookup controls whether value needs to match exactly or not. The default is TRUE = allow non-exact match.2.    Set range_lookup to FALSE to require an exact match.3.    If range_lookup is TRUE (the default setting), a non-exact match will cause the HLOOKUP function to match the nearest value in the table that is still less than value.4.    When range_lookup is omitted, the HLOOKUP function will allow a non-exact match, but it will use an exact match if one exists.5.    If range_lookup is TRUE (the default setting) make sure that lookup values in the first row of the table are sorted in ascending order. Otherwise, HLOOKUP may return an incorrect or unexpected value.6.    If range_lookup is FALSE (require exact match), values in the first row of table do not need to be sorted.Syntax: =HLOOKUP (value, table, row_index, [range_lookup])

Hyder Ali shaik
by Hyder Ali shaik , Assistant Merchandiser , M. H. Alshaya Company

yes it is possible we can check a values in two table of array or more 

Mustafa Elmatar
by Mustafa Elmatar , مدير قسم التسويق والتجارة الخارجية , مصنع ستيل هاوس + مصنع تي كي اس

use V-lookup and H-lookup search

Shahzad Hameed
by Shahzad Hameed , Sr. Quantity Surveyor , Al Arrab Contracting Company

Yes! Vlookup is used to lookup values from a vertical column, whereas hlookup is used to get values from horizantal (row array);

both formulas can be used in a single formula, provided we should know what we are trying to achive.

for example:

=VLOOKUP("INDIA",K2:P9,HLOOKUP(2012,K2:P3,2,FALSE),FALSE)

Khurshid Ahmad
by Khurshid Ahmad , Accountant , tmreya company for sweets and pastry

Yes it's possible if we IF function in the formula for the specific table

IMRAN KHAN
by IMRAN KHAN , Engagement Auditor , Ernst & Young

It is possible offcourse for Vlookup and Hlookup to look over value among two table arrays by using IF function and ruling out undesired data.

Devarasetti Indusekhar
by Devarasetti Indusekhar , Graduate Engineer Trainee , PRG BUILDCON INDIA PRIVATE LIMITED

use & formula for more than 2 vlookup or hlookup.

Muhammad Usman Ghani Ghani
by Muhammad Usman Ghani Ghani , Poultry Farm Manager , Honey Chicks and Farms

1: =IFERROR(VLOOKUP(B1,E1:F4,2,0),"")&IFERROR(VLOOKUP(A1,I1:H4,2,0),"")

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.