Lookup data from large CSV file

gareths

New Member
Joined
Aug 5, 2011
Messages
7
I'm basically trying to lookup data from a large csv (76Mb) where if the values in adjacent cells of the .xls (say A1 and B1) fall within the ranges of 'xcoord' and 'ycoord' (columns A and B) in the csv then a 'postcode' (column C) is returned from it that can be placed in the .xls

For example if the csv looks like this:

376895,379133,AAA123
376895,820494,AAA124

and the .xls like this:

A1________B1
376895____389155

then a value of AAA123 is returned in cell C1.

Is there a way to do this using vlookup or a macro?
Thanks! :biggrin:
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,224,584
Messages
6,179,687
Members
452,938
Latest member
babeneker

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