+ Reply to Thread
Results 1 to 4 of 4

Extract Number with Values/Text ONLY if number in front and Values/Text ONLY if no number

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Extract Number with Values/Text ONLY if number in front and Values/Text ONLY if no number

    Looking for formula to extract number with values/text ONLY if there is number in front of the values and extract Values/Text ONLY if there is no number in front of the values/text from column I. Desired outcome is in column J. See attached sample.

    Thanks
    Attached Files Attached Files
    Last edited by bjnockle; 01-13-2021 at 12:38 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Extract Number with Values/Text ONLY if number in front and Values/Text ONLY if no num

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Extract Number with Values/Text ONLY if number in front and Values/Text ONLY if no num

    Shareez Saleem: Excellent solution, Shareez. Thanks a lot.

  4. #4
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Extract Number with Values/Text ONLY if number in front and Values/Text ONLY if no num

    Hi to both!

    Another solution could be:
    =TRIM(LEFT(SUBSTITUTE(I2," - ",REPT(" ",99),LEN(I2)-LEN(SUBSTITUTE(I2,"-",""))),99))

    Check file. Blessings!
    Attached Files Attached Files

+ 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. Replies: 15
    Last Post: 11-25-2019, 03:48 AM
  2. [SOLVED] Geting highest number value from list with values which are text/number combinations
    By igormigor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-25-2016, 10:48 AM
  3. extract number from text and number cell
    By south in forum Excel General
    Replies: 15
    Last Post: 08-23-2014, 03:28 AM
  4. Replies: 12
    Last Post: 10-03-2008, 09:02 AM
  5. [SOLVED] Extract number from text/number string..
    By nastech in forum Excel General
    Replies: 5
    Last Post: 07-05-2006, 06:25 PM
  6. Extract phone number front block of text
    By Tech in forum Excel General
    Replies: 6
    Last Post: 08-08-2005, 12:05 PM
  7. Search for text, copy the number in front of text
    By w0cyru01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2005, 12:15 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