+ Reply to Thread
Results 1 to 15 of 15

Look up specific street address within street address range

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Look up specific street address within street address range

    Hello,

    I have an excel problem that I cannot figure out...in Tab#1 I have list of addresses...example 217 11TH ST LOS ANGELES 90015....Tab #2 has list of address ranges...example 201 - 217 11TH ST LOS ANGELES 90015, 221 - 221 11TH ST LOS ANGELES 90015...How can I see if address in tab #1 is covered by address ranges on Tab #2? Any help would be greatly appreciated and valued.

    Test.PNG
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Look up specific street address within street address range

    With extra column in Tab 2


    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-11-2015
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Look up specific street address within street address range

    Hello Leo

    Thank you so much for looking into it. However, I need to see if street number is within range...if 217 is within ranges 201-217 or 221-221. Not just street name and zip. Once again thank you for your help.

  4. #4
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Look up specific street address within street address range

    I see,

    and the result in the exemple has to be Yes Yes or Yes No ?

    Kind regards
    Leo

  5. #5
    Registered User
    Join Date
    11-11-2015
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Look up specific street address within street address range

    Tab #1, Column F (YES/NO) or (1/0) or any other indicator.

  6. #6
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Look up specific street address within street address range

    more like this ?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-11-2015
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Look up specific street address within street address range

    Hello Leo

    It should have both "Yes" since it was covered in first range 201 - 217 in Tab # 2. Also, complete file will have to look up few thousand of those streets within different ranges. So those streets and ranges will not directly correlate A2, B2 on tab #1 to A2, B2 on tab # 2...their position fixed in column not in line.

  8. #8
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Look up specific street address within street address range

    thats wy i did ask if the result has to be yes yes or yes no

    in this it is 2 times yes, but then it is with extra column


    Kind regards
    Leo
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-11-2015
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Look up specific street address within street address range

    My fault for confusion...it seems to work. However, if I change cell A3 on Tab #1 from 217 to 245, "YES" does not change to "NO", but it is outside of any range on Tab # 2. Again, thank you for taking your time on this one.

  10. #10
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Look up specific street address within street address range

    Try this one

    =IF(COUNTIFS('Tab 2'!G:G,E2,'Tab 2'!E:E,D2,'Tab 2'!D:D,C2,'Tab 2'!C:C,B2,'Tab 2'!B:B,">="&A2,'Tab 2'!A:A,"<="&A2),"YES","NO")

  11. #11
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Look up specific street address within street address range

    My mistake

    1 > to much
    1 < to little
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    11-11-2015
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Look up specific street address within street address range

    Looks like it keeps referring to first range it finds which is 211 to 217. Because when I put 221...it still says "NO". Not sure how to trigger it to skip 1st range and jump to next one...
    Last edited by dbd6lsx; 11-11-2015 at 09:08 PM.

  13. #13
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Look up specific street address within street address range

    Quote Originally Posted by dbd6lsx View Post
    when I put 221...it still says "NO". Not sure how to trigger it to skip 1st range and jump to next one...
    I guess that is directed at LeoTaxi because my suggestion says "YES" when you put 221.

  14. #14
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Look up specific street address within street address range

    indeed, takes always the first match so not a good one then.

  15. #15
    Registered User
    Join Date
    11-11-2015
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: Look up specific street address within street address range

    Jason...it worked perfectly. This is AMAZING!!!. THANK YOU so much Jason and Leo for taking your time and looking into it. I truly appreciate it. Have a great day.

+ 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. Pulling company name, street address, city, state, and zip from address
    By UNREAL2K4 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-13-2015, 12:53 PM
  2. Need to pull street address out of full address in a cell
    By Philalawyer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2014, 09:48 AM
  3. Pick street address out of text
    By mellopete in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2012, 01:04 PM
  4. separate street address and street number
    By iwanttoplaywii in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-24-2011, 09:45 PM
  5. Street Address Help
    By zero760 in forum Excel General
    Replies: 1
    Last Post: 12-01-2008, 09:23 PM
  6. extract street number from address
    By rickshadey in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-23-2008, 08:51 PM
  7. how do you sort by street name in address?
    By old hickory in forum Excel General
    Replies: 4
    Last Post: 08-04-2007, 12:46 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