ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   vlookup (https://www.excelbanter.com/excel-worksheet-functions/150894-vlookup.html)

swati

vlookup
 
hi,
Why is it that whenever I use Vlookup, the first col in both sheets should
be the same..as in, both should be ids, or names or whatever...and that
should be the value on which im using vlookup? any way i can get around
having to delete/hide lots of cols everytime i use vlookup?

Barb Reinhardt

vlookup
 
Are you using an equation like this:

=VLOOKUP(A1,Sheet2!A1:E100,5,false)

The 5 indicates which column of the range you've selected to pull the result
from.

If I'm missing something, let me know.

Barb Reinhardt

"swati" wrote:

hi,
Why is it that whenever I use Vlookup, the first col in both sheets should
be the same..as in, both should be ids, or names or whatever...and that
should be the value on which im using vlookup? any way i can get around
having to delete/hide lots of cols everytime i use vlookup?


John Bundy

vlookup
 
Use a lookup or even better look here for examples of an index/match
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"swati" wrote:

hi,
Why is it that whenever I use Vlookup, the first col in both sheets should
be the same..as in, both should be ids, or names or whatever...and that
should be the value on which im using vlookup? any way i can get around
having to delete/hide lots of cols everytime i use vlookup?


swati

vlookup
 
thanks John, will try doing tht

"John Bundy" wrote:

Use a lookup or even better look here for examples of an index/match
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"swati" wrote:

hi,
Why is it that whenever I use Vlookup, the first col in both sheets should
be the same..as in, both should be ids, or names or whatever...and that
should be the value on which im using vlookup? any way i can get around
having to delete/hide lots of cols everytime i use vlookup?



All times are GMT +1. The time now is 09:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com