+ Reply to Thread
Results 1 to 5 of 5

Excel to Access lookup similar

  1. #1
    Registered User
    Join Date
    12-28-2010
    Location
    London
    MS-Off Ver
    Excel 365
    Posts
    72

    Excel to Access lookup similar

    Hoping someone can help me, an area totally new to me. How does one achieve a lookup type function from an Excel field to an Access record (linked table).
    Looks like i might be able to do this with MS Query, but despite trying to follow some online articles i've drawn a blank - way beyond me.

    Within my Excel file i have a column called "PostCode", repeating down for 10,000 rows each and every month
    My Access table (just shy of 1.7 million records so too big for Excel), has each postcode in one field, with its corresponding "Latitude" and "Longitude" fields.

    I want to "lookup" the postcode (from within excel, looking within Access) and return the Latitude and Longitude coordinate into two columns within the same original Excel Worksheet.
    A little experience with Access queries (not too much and many moons ago), but having looked at Query / Power Query didn't know where to even start !!!
    Thanks in advance folks, i know some of you guys will be able to do this in your sleep


    Also raised in
    https://www.mrexcel.com/forum/micros...ml#post4832381
    Last edited by _MANNY_; 05-25-2017 at 08:09 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Excel to Access lookup similar

    Truthfully, the easiest way is to create a query in Access.

    Assume your zip code field is called Zip in a table called MyTable. Your Longitude and Latitude fields are called Longitude and Latitude and are in the same table.

    A Query would look like this:
    Please Login or Register  to view this content.
    In your query, you would enter the zip code when the parameter requests it.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Excel to Access lookup similar

    crossposted: https://www.mrexcel.com/forum/micros...ml#post4832381

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

  4. #4
    Registered User
    Join Date
    12-28-2010
    Location
    London
    MS-Off Ver
    Excel 365
    Posts
    72

    Re: Excel to Access lookup similar

    Apologies, and thanks for making me aware of this ruling

  5. #5
    Registered User
    Join Date
    12-28-2010
    Location
    London
    MS-Off Ver
    Excel 365
    Posts
    72

    Re: Excel to Access lookup similar

    Need to create this for colleagues who are not so IT literate, so have opted to split the entire list between two worksheets, and lookup the postcode within the two lists.
    No so elegant, but seems to do the trick
    Thanks for all the views and your time spend pondering on this one - is appreciated

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can user forms (excel 2003) have relationships similar to Access
    By paulary30 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-25-2012, 08:26 AM
  2. Excel lookup from Access Database
    By jjburt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-03-2012, 02:37 AM
  3. [SOLVED] Lookup in Excel/Access
    By monkey harry in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-22-2006, 03:30 AM
  4. Can this Excel-Access lookup be speeded up?
    By 1scant in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-16-2006, 02:20 PM
  5. excel lookup, like access
    By trav in forum Excel General
    Replies: 1
    Last Post: 02-21-2006, 10:35 PM
  6. [SOLVED] Lookup In Excel from Access Database
    By ca1358 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2006, 12:10 PM
  7. Lookup in Excel but pulling from Access
    By ca1358 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2006, 03:45 PM
  8. [SOLVED] Lookup from Excel to Access
    By ca1358 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2006, 05:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1