Whose_Anon
New Member
- Joined
- Apr 18, 2013
- Messages
- 2
Okay - I'm beat.
I thought up until today I was good at Excel. Alas, I fold after 12 hours of trying!
Here's what I'm trying to achieve:
1. I have an array of UK postcodes starting in A2 and continuing down indefinitely (depending on other inputs elsewhere in my model), for arguments sake, lets call it A200
2. I want to look up each of these postcodes in an Access database which has all these postcodes using MS Query and then return their corresponding latitude and longtitude numbers in their corresponding rows in Column's B and C in Excel, i.e. in A1 in Excel I have the postcode 'OX1 1AA', this query's Access for this postcode, which then returns the longtitude '51.3598391' and latitude '-0.35313351'.
If it can be done in SQL/MS Query great.
If VBA is needed or you think it would be more straightforward - please let me know! Please bear in mind it's essential to be able to lookup the whole cell range and return multiple query results - this restriction(?) in only letting you search for one cell in the parameter seems silly.
Some excel god is out there, and I need your help!
I thought up until today I was good at Excel. Alas, I fold after 12 hours of trying!
Here's what I'm trying to achieve:
1. I have an array of UK postcodes starting in A2 and continuing down indefinitely (depending on other inputs elsewhere in my model), for arguments sake, lets call it A200
2. I want to look up each of these postcodes in an Access database which has all these postcodes using MS Query and then return their corresponding latitude and longtitude numbers in their corresponding rows in Column's B and C in Excel, i.e. in A1 in Excel I have the postcode 'OX1 1AA', this query's Access for this postcode, which then returns the longtitude '51.3598391' and latitude '-0.35313351'.
If it can be done in SQL/MS Query great.
If VBA is needed or you think it would be more straightforward - please let me know! Please bear in mind it's essential to be able to lookup the whole cell range and return multiple query results - this restriction(?) in only letting you search for one cell in the parameter seems silly.
Some excel god is out there, and I need your help!