Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Vlookup - need the array to be constant

I am doing some data analysis and using the vlookup function to search and
match product codes in different tabs. I have lots of these to do. THe
formula I am using is;

VLOOKUP(E4,'LRP'!A1:B257, 2, FALSE)

WHen I use Ctrl D to fill down, the lookup value increases as it should.
However, I want the table array to remain constant.

Thus the second line of my sheet reads as follows;

=VLOOKUP(E5,'LRP'!A2:B258, 2, FALSE)

Where the E5 is correct. However, the table array needs to remain as A1:B257.

THere has to be a way of doing this without having to type into each cell
doesn't there?

Help appreciated

Vern


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Vlookup - need the array to be constant

=VLOOKUP(E4,'LRP'!$A$1:$B$257, 2, FALSE)

or better still, assign a defined name to 'LRP'!A1:B257 and use that

=VLOOKUP(E4,table_data, 2, FALSE

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"reesrob" wrote in message
...
I am doing some data analysis and using the vlookup function to search and
match product codes in different tabs. I have lots of these to do. THe
formula I am using is;

VLOOKUP(E4,'LRP'!A1:B257, 2, FALSE)

WHen I use Ctrl D to fill down, the lookup value increases as it should.
However, I want the table array to remain constant.

Thus the second line of my sheet reads as follows;

=VLOOKUP(E5,'LRP'!A2:B258, 2, FALSE)

Where the E5 is correct. However, the table array needs to remain as
A1:B257.

THere has to be a way of doing this without having to type into each cell
doesn't there?

Help appreciated

Vern




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
ARRAY?, CONSTANT?, INDIRECT?, CONSTITUATE? SayWhatAuto Excel Worksheet Functions 18 January 6th 07 07:16 PM
Array Constant? SayWhatAuto Excel Discussion (Misc queries) 2 December 30th 06 02:24 PM
Array formula with a constant? Tester Excel Worksheet Functions 4 October 31st 06 10:44 PM
array formula with constant name Excel Worksheet Functions 2 May 24th 06 05:14 PM
Array constant issue Sige Excel Worksheet Functions 16 March 16th 06 02:56 PM


All times are GMT +1. The time now is 02:15 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"