VLOOKUP paste

  • Thread starter Thread starter pinmaster
  • Start date Start date
P

pinmaster

Hi,
Is it possible to write a VLOOKUP formula so that when it is paste
across, it would update the column number automatically?
For example: =VLOOKUP($B5,range_name,2,0) when pasted in the nex
column would become =VLOOKUP($B5,range_name,3,0)

thanks
 
One method....

Select 4 cells in a row then type this in active cell.

=VLOOKUP($B5,range_name,{2,3,4,5},0)

CRTL + SHIFT + ENTER to array-enter.


Gord Dibben Excel MVP
 

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

Similar Threads


Back
Top