+ Reply to Thread
Results 1 to 4 of 4

Large database with addresses and another database with the Needed Zip Codes

  1. #1
    Forum Contributor
    Join Date
    03-06-2015
    Location
    houston, tx
    MS-Off Ver
    MS 365
    Posts
    494

    Large database with addresses and another database with the Needed Zip Codes

    I have address database file and a zip code file that has address ranges with zip codes.

    Need to put correct zip code to addresses. See attached sample. The sample has a "Find Zip" that is not filled in, but on same attached file, I have added the correct zip codes (FOUND ZIP) to use as example to help understand what I am trying to do.
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,880

    Re: Large database with addresses and another database with the Needed Zip Codes

    Hmm... I don't see any match for H3. The address is outside range found in range (12313 is greater than largest address for Main St in list).

    Other than that, you can try doing something like below with sample you provided.
    =SUMIFS(F:F,C:C,TRIM(RIGHT(SUBSTITUTE(H2," ",REPT(" ",50),1),50)),A:A,"<="&TRIM(LEFT(SUBSTITUTE(H2," ",REPT(" ",50),1),50)),B:B,">="&TRIM(LEFT(SUBSTITUTE(H2," ",REPT(" ",50),1),50)))

    Copy down.

    See attached.
    Attached Files Attached Files
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Contributor
    Join Date
    03-06-2015
    Location
    houston, tx
    MS-Off Ver
    MS 365
    Posts
    494

    Re: Large database with addresses and another database with the Needed Zip Codes

    Thank you, it worked....

    Blessings,

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Large database with addresses and another database with the Needed Zip Codes

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Very Large Crime Database and I need to apply proper codes to it
    By pick44 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2017, 09:18 PM
  2. Database Search filter through multiple sheets codes help needed!
    By ADumbledore12345 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-25-2017, 05:06 PM
  3. Large automated database
    By fipster in forum Excel General
    Replies: 4
    Last Post: 08-18-2014, 02:59 PM
  4. Tidying up addresses database - removing redundant variant records
    By Avestron in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-11-2013, 04:20 AM
  5. Replies: 10
    Last Post: 01-02-2013, 10:56 AM
  6. [SOLVED] VLOOKUP Multiple re-occurring codes in the database
    By ehernandez in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-29-2012, 01:33 PM
  7. Large Database
    By jwaldmann in forum Excel General
    Replies: 4
    Last Post: 02-10-2012, 10:52 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