ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   VLOOKUP #REF error (https://www.excelbanter.com/excel-discussion-misc-queries/263524-vlookup-ref-error.html)

Lost in Microbiology

VLOOKUP #REF error
 
I have a vlookup that works for the first 14, columns I want to reference.
But when I get to the 15th column I get the #REF error.

This is the formula:
=VLOOKUP($A2,$A$1100:$N$7704,14,FALSE)

Is there a limit on the number of columns a VLOOKUP array can have?

Jim Thomlinson

VLOOKUP #REF error
 
No there is no limit. Most likely you have #Ref errors somewhere in your
source table.
--
HTH...

Jim Thomlinson


"Lost in Microbiology" wrote:

I have a vlookup that works for the first 14, columns I want to reference.
But when I get to the 15th column I get the #REF error.

This is the formula:
=VLOOKUP($A2,$A$1100:$N$7704,14,FALSE)

Is there a limit on the number of columns a VLOOKUP array can have?


Gord Dibben

VLOOKUP #REF error
 
A to N is 14 columns in your lookup table.

15 will certainly give an error.

Change N to O and you have 15 columns.


Gord Dibben MS Excel MVP



On Tue, 11 May 2010 09:01:01 -0700, Lost in Microbiology
wrote:

I have a vlookup that works for the first 14, columns I want to reference.
But when I get to the 15th column I get the #REF error.

This is the formula:
=VLOOKUP($A2,$A$1100:$N$7704,14,FALSE)

Is there a limit on the number of columns a VLOOKUP array can have?



Jim Thomlinson

VLOOKUP #REF error
 
Good catch... that is more likely the error. I always use index match which
will avoid this type of issue.
--
HTH...

Jim Thomlinson


"Gord Dibben" wrote:

A to N is 14 columns in your lookup table.

15 will certainly give an error.

Change N to O and you have 15 columns.


Gord Dibben MS Excel MVP



On Tue, 11 May 2010 09:01:01 -0700, Lost in Microbiology
wrote:

I have a vlookup that works for the first 14, columns I want to reference.
But when I get to the 15th column I get the #REF error.

This is the formula:
=VLOOKUP($A2,$A$1100:$N$7704,14,FALSE)

Is there a limit on the number of columns a VLOOKUP array can have?


.



All times are GMT +1. The time now is 06:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com