#SPILL! error - spill range is too big

%3CLINGO-SUB%20id%3D%22lingo-sub-2250495%22%20slang%3D%22en-US%22%3E%23SPILL!%20error%20-%20spill%20range%20is%20too%20big%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250495%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20a%20vlookup%20document%20but%20really%20struggling%20to%20solve%20a%20vlookup%20error.%20It%20is%20the%20first%20time%20I%20have%20really%20used%20this%20and%20the%20formula%20looks%20to%20be%20right%20but%20I%20keep%20getting%20%23SPILL!%20error%20message.%20Formula%20used%20is%20-%26nbsp%3B%20%26nbsp%3B%3DVLOOKUP(B%3AB%2CSheet1!A%3AB%2C2%2CFALSE)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2250495%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi, 

 

I am trying a vlookup document but really struggling to solve a vlookup error. It is the first time I have really used this and the formula looks to be right but I keep getting #SPILL! error message. Formula used is -   =VLOOKUP(B:B,Sheet1!A:B,2,FALSE)

1 Reply

@Paul_Taylor5 

 

#SPILL! error - Extends beyond the worksheet's edge

There is an often misunderstood method of creating VLOOKUP formulas by over specifying the lookup_value argument. Before dynamic array capable Excel, Excel would only consider the value on the same row as the formula and ignore any others, as VLOOKUP expected only a single value. With the introduction of dynamic arrays, Excel considers all the values provided to the lookup_value. This means that if an entire column is given as the lookup_value argument, Excel will attempt to lookup all 1,048,576 values in the column. Once it's done, it will attempt to spill them to the grid, and will very likely hit the end of the grid resulting in a #SPILL! error.  

For example...

 

Hope I was able to help you with this info.

 

 

Nikolino

I know I don't know anything (Socrates)

 

* Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.