XLOOKUP help!

CazzCampbell

New Member
Joined
Dec 20, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I'm creating an Excel file that needs multiple lookups and I've got all of them working, except for one.

Basically, I'm wanting to lookup a postcode and enter the corresponding LSOA ID.

This is the dataset for this: National Statistics Postcode Lookup (May 2022)

However, the dataset for the whole thing is too large for excel to open.

I can't seem to create an XLOOKUP formula that will access that file saved in the same folder.

If I try and 'Get Data', it will only add up to HR4 0PH, as that's row 1,048,575, which isn't even half of the data.

What's the solution here? Any ideas? I'm utterly stumped.


EDIT:
If it helps, this is my current formula:

=XLOOKUP(B21,NSPL_MAY_2022_UK_xlsx[[#All],[pcds]],NSPL_MAY_2022_UK_xlsx[[#All],[lsoa11]])
 
Last edited by a moderator:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Welcome to the Board!

Maybe try something other than Excel, like Microsoft Access?
Access can handle larger data tables and is even better than Excel at matching records.
 
Upvote 0
Welcome to the Board!

Maybe try something other than Excel, like Microsoft Access?
Access can handle larger data tables and is even better than Excel at matching records.
I'm wanting to stay with Excel if possible ideally.
 
Upvote 0

Forum statistics

Threads
1,215,125
Messages
6,123,193
Members
449,090
Latest member
bes000

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