VLOOKUP Worksheet limit?

SteveWebb

Board Regular
Joined
Feb 20, 2002
Messages
73
Hi and thank you in advance for looking at my problem,

Is there a limit to the number of worksheets the VLookup function can access?

I have 'Data Table', A1 - AA6000
Headings include Ref number - Date/Time - Address etc (These contain some personal data so have not been able to post an example).

Worksheets range from LI 1 through to LI 23 all with selected headings taken from the DataTable.
The Vlookup function will look for the LI match:-
Using =IF(ISNA(VLOOKUP(A2,'LI 1'!A1:J3,16,FALSE)),VLOOKUP(A2,'LI 2'!A1:K40,16,FALSE),VLOOKUP(A2,'LI 3'!A1:P196,16,FALSE)) with CSE.
Column 16 contains the data for comparison, I get to LI 4 and get an error message.

Any help much appreciated

Kind Regards
Steve
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Peter,
Used :-
=IFERROR(VLOOKUP(A2,'LI 8'!$A$1:$P$191,16,FALSE),IFERROR(VLOOKUP(A2,'LI 14'!$A$1:$N$120,14,FALSE),IFERROR(VLOOKUP(A2,'LI 15'!$A$1:$N$135,14,FALSE),IFERROR(VLOOKUP(A2,'LI 16'!$A$1:$L$1183,12,FALSE),IFERROR(VLOOKUP(A2,'LI 22'!$A$1:$L$1386,12,FALSE),IFERROR(VLOOKUP(A2,'LI 23'!$A$1:$N$936,14,FALSE),IFERROR(VLOOKUP(A2,'LI 50'!$A$1:$O$72,15,FALSE),"Not Found")))))))

Only draw back is the max 7 nested functions. Is this excels limit without VBA/UDF?

Cheers
Steve
 
Upvote 0
Surely that can't be Excel 2003 or earlier as the IFERROR function is being used?!?!
 
Upvote 0
Ah, good. Well you should be able to go deeper than 7 levels then. :-)
 
Upvote 0
Are you in compatibility mode by any chance? Or in an older version workbook?
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,153
Members
452,891
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top