#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default copying vlookup

my formula:

=VLOOKUP($D18,'Data$A$1:$D$500'!,2,FALSE)

how can I copy the formula without having to change the hard-coded column 2
to column 3, coulmn 4, etc?

thanks in advance! jane
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default copying vlookup

If you're copying across:

=VLOOKUP($D18,Data!$A$1:$D$500,COLUMNS($A1:B1),0)

If you're copying down:

=VLOOKUP(D$18,Data!$A$1:$D$500,ROWS(A$1:A2),0)



--
Biff
Microsoft Excel MVP


"jane" wrote in message
...
my formula:

=VLOOKUP($D18,'Data$A$1:$D$500'!,2,FALSE)

how can I copy the formula without having to change the hard-coded column
2
to column 3, coulmn 4, etc?

thanks in advance! jane



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default copying vlookup

you are awesome!
thank you!
jane

"T. Valko" wrote:

If you're copying across:

=VLOOKUP($D18,Data!$A$1:$D$500,COLUMNS($A1:B1),0)

If you're copying down:

=VLOOKUP(D$18,Data!$A$1:$D$500,ROWS(A$1:A2),0)



--
Biff
Microsoft Excel MVP


"jane" wrote in message
...
my formula:

=VLOOKUP($D18,'Data$A$1:$D$500'!,2,FALSE)

how can I copy the formula without having to change the hard-coded column
2
to column 3, coulmn 4, etc?

thanks in advance! jane




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default copying vlookup

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"jane" wrote in message
...
you are awesome!
thank you!
jane

"T. Valko" wrote:

If you're copying across:

=VLOOKUP($D18,Data!$A$1:$D$500,COLUMNS($A1:B1),0)

If you're copying down:

=VLOOKUP(D$18,Data!$A$1:$D$500,ROWS(A$1:A2),0)



--
Biff
Microsoft Excel MVP


"jane" wrote in message
...
my formula:

=VLOOKUP($D18,'Data$A$1:$D$500'!,2,FALSE)

how can I copy the formula without having to change the hard-coded
column
2
to column 3, coulmn 4, etc?

thanks in advance! jane






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
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
Copying absolute VLOOKUP Martha Excel Worksheet Functions 6 March 2nd 07 04:09 PM
copying VLOOKUP w/o changing formula rldjda Excel Worksheet Functions 2 February 7th 07 02:07 AM
Copying VLOOKUP I.C.E. Excel Discussion (Misc queries) 6 October 11th 06 09:30 AM
copying VLOOKUP Jane Excel Worksheet Functions 5 January 26th 06 02:08 AM


All times are GMT +1. The time now is 12:56 PM.

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"