Why are you specifying a lookup table 12 columns wide? VLOOKUP will lookup
a value in the left-most column of your table-array and then return a value
from the column number of that array that you specify. Since you are
specifying the second column of the table-array to return the result from,
then your range does not need to be more than two columns wide.
=VLOOKUP(B7,'Vdr#'!$A:$B,2,FALSE)
HTH,
Paul
--
When you specify a row like 1:1 you're specifying one row with 16,384
columns
If you use 1000 rows with 12 columns in each row then you should specify
it
like A1:L1000
You could even start out with 2000 rows with A1:L2000 and grow it as
needed
But to use this in a VLOOKUP and drag the formula down, you will need to
use
absolute addresses for the lookup table as in
=VLOOKUP(B6,'Vdr#'!$A$1:$L$2000,2,FALSE)
The B6 will change to B7 then to B8 etc, but the lookup table address
won't
change.
Tyro
No... it's 1000 rows using only the first 12 columns.- Hide quoted text -
- Show quoted text -
I tried that formula. It works, except the lookup range keeps
changing as I go down the rows. I'll paste the formula as it appears
in 3 of the cells on different rows: =VLOOKUP(B2,'Vdr#'!
A1:K2000,2,FALSE) this is on row 2. =VLOOKUP(B4,'Vdr#'!
A3:K2002,2,FALSE) this is on row 4. =VLOOKUP(B9,'Vdr#'!
A8:K2007,2,FALSE) this is on row 8. Notice the range changing as I
go down. I need the range to stay exactly the same throughout the
whole table. Thanks in advance. Daryl