Results 1 to 4 of 4
  1. #1
    forbes61 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Posts
    2

    Matching entries from separate lists

    I'm not sure if this is the correct place to ask, so if it's not just point me in the direction and delete.

    My girlfriend is working on a project for work where she has two lists of information. One is a list of about 1300 entries (call it list A) of information for every independent pharmacy in an entire state and the other is a hand-picked subset (~500 entries) of that list (list B). What she needs to do is match entries in list B to their corresponding entries in list A and then pull the addresses and move them to the correct spot in list B. I believe both are (or can be) excel spreadsheets.



    She's sitting here doing it by hand and I think there has to be a better way, I'm just not familiar enough with access to do the manipulation. Is this possible?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why is Excel involved if there is an Access database?

    Code to do what you want from Access would be very complicated and really should be unnecessary. Data should not have to be 'moved'.

    Access uses queries to create 'subsets'.

    Even in Excel, rows can be filtered.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    JeffChr is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    82
    if the data is indeed in Excel worksheets then i would point in the direction of the vlookup function in excel to fill in the addresses. it may work depending on what your data looks like.

  4. #4
    forbes61 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Posts
    2
    Quote Originally Posted by June7 View Post
    Why is Excel involved if there is an Access database?

    Code to do what you want from Access would be very complicated and really should be unnecessary. Data should not have to be 'moved'.

    Access uses queries to create 'subsets'.

    Even in Excel, rows can be filtered.
    Yeah, the whole situation was less than optimal for sure. She used google maps and the original list to plot 4 days worth of driving routes for 5 different sales reps for a sales push in their new expansion territory. Then she went along each route and pulled the names of those stores thinking that the reps could look at the distilled route list on the paper and then either use their GPS or cross-reference the big list on their ipad to get the address (if needed). Turns out, her boss wasn't a fan of that and insisted on having the addresses in the route list. So now she had the route list of just names and had to go back and find each individual one in the bigger list. As for this post, I haven't used access except for just very basically in an intro class in highschool. All I really remembered about it was that it had more advanced database manipulation tools so I thought it might be of some use in order to compare lists. Turns out we were able to figure out how to make it work in excel using vlookup.

    Quote Originally Posted by JeffChr View Post
    if the data is indeed in Excel worksheets then i would point in the direction of the vlookup function in excel to fill in the addresses. it may work depending on what your data looks like.
    Yep that ended up being just the thing we needed. Thank you. This can be closed.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. How to separate names into 2-separate fields
    By djclntn in forum Queries
    Replies: 4
    Last Post: 09-18-2014, 02:34 PM
  2. Replies: 9
    Last Post: 08-11-2014, 01:24 AM
  3. Replies: 5
    Last Post: 07-18-2014, 02:04 AM
  4. Replies: 1
    Last Post: 10-24-2011, 08:01 AM
  5. Replies: 1
    Last Post: 08-11-2011, 11:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums