VLOOKUP Worksheet limit?

SteveWebb

Board Regular
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 does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

SteveWebb

Board Regular
Hi Thanks Peter for the reply, will look at that.

Many thanks
Steve

SteveWebb

Board Regular
Hi Peter,
Used :-

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

Cheers
Steve

VoG

Legend

Yes, in Excel versions before 2007.

GlennUK

Well-known Member
Surely that can't be Excel 2003 or earlier as the IFERROR function is being used?!?!

SteveWebb

Board Regular

HI Glenn,
Have gone all modern with 2010 !!, still confuses me though

GlennUK

Well-known Member
Ah, good. Well you should be able to go deeper than 7 levels then.

SteveWebb

Board Regular
Go to level 8 and warning message flagged maximum number of nested had been reached?

GlennUK

Well-known Member
Are you in compatibility mode by any chance? Or in an older version workbook?

Replies
14
Views
439
Replies
5
Views
231
Replies
1
Views
600
Replies
1
Views
533
Replies
15
Views
733

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,699
Messages
5,833,204
Members
430,196
Latest member
rez5656

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.

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

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