+ Reply to Thread
Results 1 to 10 of 10

Separate Suite # from addresses

  1. #1
    Registered User
    Join Date
    04-13-2013
    Location
    Calcutta
    MS-Off Ver
    Excel 2013
    Posts
    87

    Separate Suite # from addresses

    Hello

    Request you guys to kindly offer me a solution to help separate Suite #s from addresses

    All the suite #s are at the end of addresses and always starts with 'ste', like:-

    13859 Progress Blvd Ste 300
    5072 Annunciation Cir Ste 326
    17971 Biscayne Blvd Ste 214
    2999 NE 191st St Ste 900
    18205 Biscayne Blvd Ste 2201
    18851 NE 29th Ave Ste 1005

    How can I strip them off the addresses and put them in a separate column. Kindly note that anything apart from the 'Ste #' should not be stripped.

    So addresses like

    21195 Helmsman Dr Apt F12
    19101 Mystic Pointe Dr # 2108

    ..etc should not be stripped


    Many thanks in advance

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Separate Suite # from addresses

    =IFERROR(MID(A1,FIND("Ste",A1),255),"")

    should do that for you..
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Separate Suite # from addresses

    Indeed, this may be better:

    =IFERROR(MID(A1,FIND("Ste ",A1),255),"")

    as the first one would fall over with

    1234 St Stephen's Street

  4. #4
    Registered User
    Join Date
    04-13-2013
    Location
    Calcutta
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Separate Suite # from addresses

    Thanks a lot, Glenn. That works fine.

    However, I also want to remove the Ste # from the main address when it is being split into a new column.

    So for example, for an address like:-

    13859 Progress Blvd Ste 300

    I want the 'Ste 300' part to be moved to a new column and the same removed from the main address as well. I need this so that I can sort the addresses without the Ste #s

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Separate Suite # from addresses

    That wasn't clear to me... However:

    =TRIM(LEFT(A1,FIND("Ste ",A1)-1))

  6. #6
    Registered User
    Join Date
    04-13-2013
    Location
    Calcutta
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Separate Suite # from addresses

    Thanks Glenn, I should have made it clear at my original post.

    I applied your revised formula, but it didn't quite work out properly.

    Could you please have a look at the attached spreadsheet and advise

    Thanks
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Separate Suite # from addresses

    Don't you need another column??

    See attached.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-13-2013
    Location
    Calcutta
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Separate Suite # from addresses

    I see, so I need to make two columns, one for (revised) addresses and another for Suite #s and run the following formulas

    For addresses without suite #

    Please Login or Register  to view this content.
    For just Ste #s

    Please Login or Register  to view this content.

    This can work for me.

    I was of the idea that I would need to make just one column for the Ste #s and the formula would strip off the Ste #s from the main addresses and also place them in the new Ste column simultaneously. So a single formula would do both.

    But I guess that won't be possible?

    Thanks

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Separate Suite # from addresses

    No, you can't over-write what's in a cell and keep it at the same time. Simply hide the column with the "full" address.

  10. #10
    Registered User
    Join Date
    04-13-2013
    Location
    Calcutta
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Separate Suite # from addresses

    Hi Glenn

    One quick question:-

    In addition to separating the Ste #s from the addresses, if I also want to separate the Apt #, Fl#, Rm# , then what should be the formulas like?


    Thanks

+ 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. Split unformatted addresses into separate columns
    By palaniappan0212 in forum Excel General
    Replies: 4
    Last Post: 08-13-2015, 03:17 AM
  2. Replies: 4
    Last Post: 06-22-2014, 06:25 PM
  3. [SOLVED] Separate two email addresses in one cell
    By NeilAZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-28-2013, 12:12 PM
  4. How to separate duplicate email addresses ?
    By Tanujesh in forum Excel General
    Replies: 4
    Last Post: 04-04-2013, 12:43 AM
  5. Replies: 2
    Last Post: 06-19-2012, 11:30 AM
  6. Separate e-mail addresses from the text
    By coldrex in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-06-2010, 02:02 AM
  7. Replies: 3
    Last Post: 04-26-2005, 05:06 AM

Tags for this Thread

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