+ Reply to Thread
Results 1 to 7 of 7

Address Ranges Help Needed

Hybrid View

pick44 Address Ranges Help Needed 06-29-2017, 11:49 AM
Special-K Re: Address Ranges Help Needed 06-29-2017, 11:53 AM
pick44 Re: Address Ranges Help Needed 06-29-2017, 12:59 PM
pick44 Re: Address Ranges Help Needed 06-29-2017, 12:43 PM
Special-K Re: Address Ranges Help Needed 06-30-2017, 04:38 AM
FlameRetired Re: Address Ranges Help Needed 06-30-2017, 01:54 PM
AlKey Re: Address Ranges Help Needed 06-30-2017, 02:20 PM
  1. #1
    Forum Contributor
    Join Date
    03-06-2015
    Location
    houston, tx
    MS-Off Ver
    MS 365
    Posts
    529

    Address Ranges Help Needed

    I have data base with 4 columns of address numbers for each street name. Need to only have "one" street name with lowest to highest number range. See attached file...., I would have the answer of : Beverly Hill St 9500 - 9699

    Thanks Rich ><>
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,080

    Re: Address Ranges Help Needed

    in I3
    =MIN(IF(A3=A$3:A$19,C$3:F$19))&" - "&=MAX(IF(A3=A$3:A$19,C$3:F$19))
    Array formula, use Ctrl-Shift-Enter
    and copy down the column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

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

    Re: Address Ranges Help Needed

    After I ran the formula, I found that some street numbers had "0" as the min. This happened when the mapping program I use did not have a beginning address and it places a "0". Can the formula be adapted to have a value "1" or higher?

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

    Re: Address Ranges Help Needed

    I tried formula but did not work. I rewrote and it worked: See below
    =MIN(IF(A3=$A$3:$A$19,$C$3:$F$19))&" - "&MAX(IF(A3=$A$3:$A$19,$C$3:$F$19))

    I left out the &=MAX AND REPLACED IT WITH &MAX AND IF WORKED. Thanks

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,080

    Re: Address Ranges Help Needed

    Try (untested)

    =MIN(IF(AND(A3=$A$3:$A$19,$C$3:$F$19>0),$C$3:$F$19))&" - "&MAX(IF(AND(A3=$A$3:$A$19,$C$3:$F$19>0),$C$3:$F$19))

    Not sure if this will work actually.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: Address Ranges Help Needed

    I interpreted a little differently.


    J
    K
    3
    BEVERLYHILL ST
    9500-9699
    4
    BLUE WILLOW DR
    2116-2599
    5
    BRIAR BRANCH DR
    2200-2399


    In cell J3 array enter this formula and fill down until you get blanks.
    Formula: copy to clipboard
    =IFERROR(INDEX($A$3:$A$19,SMALL(IF(FREQUENCY(MATCH($A$3:$A$19,$A$3:$A$19,0),ROW($A$3:$A$19)-
    MIN(ROW($A$3:$A$19))+1),ROW($A$3:$A$19)-MIN(ROW($A$3:$A$19))+1),ROWS($3:3))),"")


    And array entered in K3 and filled down.
    Formula: copy to clipboard
    =IF(J3="","",MIN(IF((J3=$A$3:$A$19)*($C$3:$F$19>0),$C$3:$F$19))&"-"&
    MAX(IF((J3=$A$3:$A$19)*($C$3:$F$19>0),$C$3:$F$19)))
    Dave

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Address Ranges Help Needed

    If you using *Excel 2010 or higher
    Here are regular formulas
    For unique list
    Enter in J3 and copy down
    Formula: copy to clipboard
    =IFERROR(INDEX(A$3:A$19,MATCH(0,INDEX(COUNTIF(J$2:J2,A$3:A$19),,),)),"")

    then enter formula in L3 and copy down
    Formula: copy to clipboard
    =AGGREGATE(15,6,C$3:F$19/(A$3:A$19=J3),1)&" - "&AGGREGATE(14,6,C$3:F$19/(A$3:A$19=J3),1)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. SUM using ADDRESS function and Named Ranges
    By excelroofing in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-24-2015, 08:54 PM
  2. Macro Needed - Email address / demographics clean-up
    By Nortoneiu7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2014, 03:59 PM
  3. Macro Needed - Looking to combine names based on address (household)
    By creativeig in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-09-2014, 12:31 PM
  4. [SOLVED] Web address needed for excel file
    By tom hatten in forum Excel General
    Replies: 2
    Last Post: 04-25-2013, 03:50 PM
  5. 2 formulas needed for separation of names from address block
    By CMPANDA in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-11-2012, 05:44 PM
  6. INDIRECT(ADDRESS(...)) in ranges
    By nsv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2007, 02:39 AM
  7. Variable Address Ranges
    By pncd2 in forum Excel General
    Replies: 1
    Last Post: 12-14-2005, 01:10 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