+ Reply to Thread
Results 1 to 2 of 2

i need to search a column in my database file for zipcode and provide data elsewere

Hybrid View

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    canada
    MS-Off Ver
    Excel 365 (Mac)
    Posts
    26

    i need to search a column in my database file for zipcode and provide data elsewere

    i have a excel file that has all US zipcodes and what city and state and country there in (database)

    i need to reference this "database" in my address workbook, witch has columns

    zipcode state city country


    (example file provided)

    so when i type or copy a zip code into that column i need the macro/if-statement to reference my

    "database file"

    ie

    if it finds 90210 in the database i want it to return : CA, BEVERLY HILLS, USA

    AND PLACE THE DATE IN SEPERATE CELLS
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: i need to search a column in my database file for zipcode and provide data elsewere

    A VLOOKUP will work against your Zip data. See attachment, I've put the necessary formulae in cells F3:F5.

    zipdata.xlsx

+ 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. Replies: 2
    Last Post: 08-07-2013, 09:01 AM
  2. [SOLVED] Data match with zipcode
    By mathanraj76 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-09-2013, 09:45 AM
  3. Match data between CSV and database and update column in database table
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2012, 05:59 PM
  4. Using data entered in prompt to search database table
    By BluRay in forum Word Programming / VBA / Macros
    Replies: 5
    Last Post: 03-26-2011, 05:44 AM
  5. Database userform search data, go to row
    By dmanatee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2010, 09:06 AM

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