ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Vlook Question (https://www.excelbanter.com/excel-worksheet-functions/175845-vlook-question.html)

denise

Vlook Question
 
Can you drag a vlookup formula and have the col_index_num follow?

Mike H

Vlook Question
 
Denise,

One way

=VLOOKUP($A$1,$B$4:$G$10,COLUMN(B2),FALSE)
Start in column 2 of the table and dragged right becomes column 3 etc
or
=VLOOKUP($A$1,$B$4:$G$10,ROW(B2),FALSE)
same effect dragged down

Mike
"Denise" wrote:

Can you drag a vlookup formula and have the col_index_num follow?


denise

Vlook Question
 
Thank you so much, that worked like a charm...


"Mike H" wrote:

Denise,

One way

=VLOOKUP($A$1,$B$4:$G$10,COLUMN(B2),FALSE)
Start in column 2 of the table and dragged right becomes column 3 etc
or
=VLOOKUP($A$1,$B$4:$G$10,ROW(B2),FALSE)
same effect dragged down

Mike
"Denise" wrote:

Can you drag a vlookup formula and have the col_index_num follow?


Mike H

Vlook Question
 
your welcome


"Denise" wrote:

Thank you so much, that worked like a charm...


"Mike H" wrote:

Denise,

One way

=VLOOKUP($A$1,$B$4:$G$10,COLUMN(B2),FALSE)
Start in column 2 of the table and dragged right becomes column 3 etc
or
=VLOOKUP($A$1,$B$4:$G$10,ROW(B2),FALSE)
same effect dragged down

Mike
"Denise" wrote:

Can you drag a vlookup formula and have the col_index_num follow?



All times are GMT +1. The time now is 08:39 PM.

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