+ Reply to Thread
Results 1 to 7 of 7

finding the first Number in a cell

  1. #1
    Registered User
    Join Date
    06-03-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    7

    finding the first Number in a cell

    Hello,
    Is there a formula I can use to find the first number in a cell?

    for example:

    cell B14 - Alfonse and AliceLeto5803 Breezehill RoadEast SpartaOH44606

    I have 200 rows like this where the name runs into the first number of the address,

    I want to separate First Name, Last Name, Address, City, State, Zip

    I've searched YouTube with no luck,

    any help would be appreciated

    Thanks,
    Last edited by vhicks; 06-04-2017 at 07:10 PM.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: finding the first Number in a cell

    This will pull out everything to the right of (and including) the first number:

    =MID(B14,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},B14&"0123456789")),LEN(B14))

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: finding the first Number in a cell

    try

    B14: =MID(B14,MIN(IF(ISNUMBER(--(MID(B14,ROW(INDIRECT("1:"&LEN(B14))),1))),ROW(INDIRECT("1:"&LEN(B14))),LEN(B14)+1)),4) array entered and drag down

    I assume your number has lenght 4 always
    Last edited by sandy666; 06-04-2017 at 07:38 PM.

  4. #4
    Registered User
    Join Date
    06-03-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    7

    Re: finding the first Number in a cell

    No, Sandy, sorry I didn't specify that. they consist of 3-5 digits.

    I tried the formula but got no results, or not the one I wanted,, I though it might be something simple like finding the first space - as =FIND(" ",B14) but I see it's not that way

    I attached the work book if you'd like to see
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-03-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    7

    Re: finding the first Number in a cell

    thanks falcondude, that did it. I appreciate ya..!!!

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: finding the first Number in a cell

    You're welcome. Happy to help!

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: finding the first Number in a cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. 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. Finding last cell with number in it
    By jrembold in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-19-2015, 04:11 PM
  2. [SOLVED] Finding if there is a number within a cell and then returning it
    By Dan27 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2014, 08:38 AM
  3. Finding a Cell Address using the Max number in a row
    By NeoFlex in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-14-2014, 09:03 AM
  4. Finding the Row Number of the next cell with a Value in a Column
    By JoshExcel in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 06-05-2013, 12:03 PM
  5. finding the cell number using C++
    By garywillams in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-29-2009, 04:22 AM
  6. Finding a Row Number for a cell
    By supernova5271 in forum Excel General
    Replies: 3
    Last Post: 09-30-2008, 06:58 PM
  7. Replies: 1
    Last Post: 09-12-2005, 09:05 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