Vlookup Col_index_num

G

Guest

I need to drag the formula accross columns and increase the col_index_num by
1 for each new column.
The array will increase by a letter automatically if the $in not in place in
front of the selected columns
ie $A:$C will remain whereas A:C will increase
However the col_index_num always remains the same.
It should move as the array does utilising the $

Regards
Mort
Australia

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...5-bb39c26568cb&dg=microsoft.public.excel.misc
 
C

Charles Williams

=Vlookup(LookupValue,LookupArray,column(d1))

would give 4 as the column_index_num and this will increment to e, f (5,6)
etc as you drag across.

or you can use Column()-2 for example to give the current column number -2


--
Charles
______________________
Decision Models
FastExcel 2.2 Beta now available
www.DecisionModels.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top