+ Reply to Thread
Results 1 to 2 of 2

Thread: Extract Data to right and left of numbers

  1. #1
    Registered User
    Join Date
    03-18-2010
    Location
    Northwest, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    1

    Extract Data to right and left of numbers

    Friends,

    I need a bit of help as to how to extract data from the right and left of numbers in address cells.

    One cell contains the following:

    MIKE A 335 W FIRST ST - I want to extract the MIKE A and 335 W FIRST ST

    One cell contains the following with no spaces between text and number:

    JENNIFER MARIE837 W SECOND AVE - I want to extract the JENNIFER MARIE and 837 W SECOND AVE

    Your assistance will be greatly appreciated.

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    844

    Re: Extract Data to right and left of numbers

    The following are array formulas - confirm with Crtl+Shift+Enter
    For the text before the first number.
    =LEFT(A1,MATCH(1,(CODE(MID(A1,ROW(1:100),1))<=57)*(CODE(MID(A1,ROW(1:100),1))>=48),0)-1)
    For the text starting at the nubmer:
    =MID(A1,MATCH(1,(CODE(MID(A1,ROW(1:100),1))<=57)*(CODE(MID(A1,ROW(1:100),1))>=48),0),99)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0