VLOOKUP Copy/Paste Problem

G

Guest

Good Morning All,

Could someone help .

If I copy a Vlookup across a whole column in a worksheet the table array
variable adjusts accordly to where the cell is .

e.g Sheet1 has VLOOKUP(A2,Sheet2!A1:D50000,2,FALSE)

if I copy this down to the next cell below it will become

VLOOKUP(A3,Sheet2!A2:D50001,2,FALSE)

What I want to do is lock the Table array so it stays the same no matter
where I copy the vlookup to.

can anyone help

Thanks in advance

Jason Cutmore
 
G

Guest

try this

VLOOKUP($A$2,Sheet2!$A$1:$D$50000,2,FALSE)

the $ is used for fixing the cell reference

if you want to fix only one part, you can do that as well
$A2 or A$2

hth

Carlo
 
G

Guest

Cheers Carlo,

Done the job ;)



Carlo said:
try this

VLOOKUP($A$2,Sheet2!$A$1:$D$50000,2,FALSE)

the $ is used for fixing the cell reference

if you want to fix only one part, you can do that as well
$A2 or A$2

hth

Carlo
 

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


Top