Retrieving single cell of data from large external database without increasing file size

StijnRoelen

New Member
Joined
Sep 8, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi All,
I have a large database with 460.478 unique "Postal Codes".
I also have a workbook in which I want to fill in one of the "Postal Codes" and as a result get the "Municipality" and "Water Authority" for that specific Postal Code.
Right now i have a simple but working solution which is
=VLOOKUP(D4;'C:\Users\Stijn\Documents\[Database.xlsx]Sheet1'!$A$2:$C$460479;2;FALSE)

except when i do it like this the file size of my workbook increases from 2,5 MB to over 12 MB. Since we use many unique copies of this workbook this is not acceptable and i feel like there should be a way to retrieve two cells per single request without increasing the size by that much.

Thanks in advance!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Lookup your data with a macro.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,049
Messages
6,122,864
Members
449,097
Latest member
dbomb1414

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