Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default VLOOKUP Copy/Paste Problem

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 179
Default VLOOKUP Copy/Paste Problem

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

"Jai_Friday" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default VLOOKUP Copy/Paste Problem

Cheers Carlo,

Done the job ;)



"Carlo" wrote:

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

"Jai_Friday" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and paste problem Germano Excel Discussion (Misc queries) 1 August 24th 07 12:45 PM
Copy/ Paste Problem DanielSP Setting up and Configuration of Excel 4 January 25th 07 02:42 AM
Copy and Paste Problem Skc Excel Discussion (Misc queries) 1 March 8th 06 07:21 PM
copy paste problem? Neil22 Excel Discussion (Misc queries) 5 January 10th 06 05:32 PM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM


All times are GMT +1. The time now is 02:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"