+ Reply to Thread
Results 1 to 3 of 3

Need a formula to isolate a number from a text string

  1. #1
    Registered User
    Join Date
    09-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    20

    Need a formula to isolate a number from a text string

    I am having trouble writing a trim formula that looks at a particular cell and isolates the numbers/text preceding the inches (") measurement.

    For example:

    7" Extended Performance Blade
    Construction 12" Combo Pack
    Series 20 12" 60 Tooth Fine Finish Saw Blade
    6-1/2" x 1/8" Concrete/Masonry Saw Blade

    becomes

    7"
    12"
    12"
    6-1/2" 1/8"

    any suggestions?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Need a formula to isolate a number from a text string

    This is a nightmare using formula, it would be must easier with a user defined function...

    Please Login or Register  to view this content.
    Then, with your data in A1:

    =GetInches(A1)

  3. #3
    Registered User
    Join Date
    09-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: Need a formula to isolate a number from a text string

    BRILLIANT! Works perfect. Thank you.

+ 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