+ Reply to Thread
Results 1 to 3 of 3

separate numbers and merge?

  1. #1
    Registered User
    Join Date
    10-16-2011
    Location
    Bell, Florida
    MS-Off Ver
    Excel 2003
    Posts
    1

    Smile separate numbers and merge?

    I have a database which has an address column where the address is setup like:
    TANSY RD NE-642/MAYO - where the street number (642 is always after the dash, then theres a / which contains the city. I need to get the street number first and eliminate the /city from the column. is there a formula which will work to do this quickly? Its a very large record file.So my outcome would be 642 TANSY RD NE (I actually need it to be 642 NE TANSY RD but I believe the mailer will be able to address correct it from there. Thanks for any help to get this done!

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: seperate numbers and merge?

    You can extract number with formula like in attchment

    regards
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: seperate numbers and merge?

    all in one go try
    =MID(A1,FIND("-",A1)+1,FIND("/",A1)-(FIND("-",A1)+1))&" "&LEFT(A1,FIND("-",A1)-1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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