Vlookup Full Throttle :

 

1.  We all know that Vlookup is very great formula to lookup a value and
pick the relevant matched value from other table.

But sometime we all have a situation where we have to pick more than one
column let's say 10 or 12.

We can do vlookup formula and then copy and paste in all the columns and
change the column Index no. to 2,3,4 etc.

For 2-3 columns, it is okay but if you have to pick more than 5 columns, its
irritating.

      

      The Workaround of this is to put Match function in the column index
parameter of Vlookup (provided column names are same)

      

      E.g. VLOOKUP(A2,Sheet1!$A$1:$N$5922,MATCH(B$1,Sheet1!$A$1:$N$1,0),0)

      Parameters :Vlookup(A2 -> As usual, Value to lookup

                  Sheet1!$a$1:$N$5922 -> Range to lookup the value

                  Match(B$1 -> Column Heading for the column to
match(Remember to make row Absolute so that you can copy the formula
downward)

                  Sheet1!$A$1:$N$1 -> Header Row in Sheet1

                  

2.  Another limitation of vlookup is that the value to be searched should be
at leftmost columns in both the sheet.

To workaround for this, we can use a combination of Index-Match to lookup
the values.

Suppose We have our data is Sheet1 Range A1:N5922 and another sheet - Sheet2
where we have to lookup values from sheet1.

We can us the formula as
=INDEX('Sheet1'!$A$1:$N$5922,MATCH($A2,'Sheet1'!$A$1:$A$5922,0),MATCH(B$1,'S
heet1'!$A$1:$N$1,0)).

 

If you have any problem understanding or implementing Index-Match, Send me a
sample Sheet and I will explain with example.

 

Both the formulas works if the column heading in both the sheets are same.

 

 

Regards,

 

Upendra Singh

+91-9910227325, +91-9310760597


--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 5,000 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to