+ Reply to Thread
Results 1 to 4 of 4

How to extract the Number from a String

Hybrid View

  1. #1
    Registered User
    Join Date
    12-16-2005
    Posts
    14

    Question How to extract the Number from a String

    Hello friends

    I have a column with following type of data:
    1243 no. of Books
    213 no. of Pens

    What i want is to extract only the numeric data from the column and
    keeping the the original string as it is

    thanks in advance
    johnbest

  2. #2
    Roger Govier
    Guest

    Re: How to extract the Number from a String

    Hi John

    Assuming your data always has a space after the last numeric value, and with
    the data in A1
    =--LEFT(A1,FIND(" ",A1)-1)

    Regards

    Roger Govier


    johnbest wrote:
    > Hello friends
    >
    > I have a column with following type of data:
    > 1243 no. of Books
    > 213 no. of Pens
    >
    > What i want is to extract only the numeric data from the column and
    > keeping the the original string as it is
    >
    > thanks in advance
    > johnbest
    >
    >


  3. #3
    Registered User
    Join Date
    12-16-2005
    Posts
    14
    Hi roger

    thanks

  4. #4
    CLR
    Guest

    RE: How to extract the Number from a String

    ASAP Utilities, a free Add-in available at www.asap-utilities.com has a
    feature that will delete all numbers from a string wherever they are
    located...........

    Vaya con Dios,
    Chuck, CABGx3


    "johnbest" wrote:

    >
    > Hello friends
    >
    > I have a column with following type of data:
    > 1243 no. of Books
    > 213 no. of Pens
    >
    > What i want is to extract only the numeric data from the column and
    > keeping the the original string as it is
    >
    > thanks in advance
    > johnbest
    >
    >
    > --
    > johnbest
    > ------------------------------------------------------------------------
    > johnbest's Profile: http://www.excelforum.com/member.php...o&userid=29694
    > View this thread: http://www.excelforum.com/showthread...hreadid=494535
    >
    >


+ 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.6.0 RC 1