+ Reply to Thread
Results 1 to 5 of 5

How to extract number from text

  1. #1
    Registered User
    Join Date
    05-29-2018
    Location
    UAE
    MS-Off Ver
    2019
    Posts
    75

    How to extract number from text

    Hi ,

    I have a long description which contains cheque number .How easily i can extract the chq numbers .If the chq number starts with zero , then i want to skip the zero numbers .Can anyone help.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: How to extract number from text

    One way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: How to extract number from text

    at E5
    =--RIGHT(SUBSTITUTE(REPLACE(D5,FIND("Date",D5),LEN(D5),""),".",REPT(" ",LEN(D5))),LEN(D5))

  4. #4
    Registered User
    Join Date
    05-29-2018
    Location
    UAE
    MS-Off Ver
    2019
    Posts
    75

    Re: How to extract number from text

    Dear Ghozi ,
    Thanks a lot . It is working for me .

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to extract number from text

    Here is another one
    Enter formula in cell E5 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v D E
    4 Description Chq No
    5 Transfer CHQ.No. 1152 Date 11.Feb.2019 xxx bank 1152
    6 Transfer CHQ.No. 10053 Date 11.Feb.2019 xxx bank 10053
    7 Transfer CHQ.No. 0054 Date 11.Feb.2019 xxx bank 0054
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Extract number from Text
    By madhatter40 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2019, 04:06 AM
  2. [SOLVED] Extract certain text dependant on number of characters in text
    By bjoanmark in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2014, 02:57 AM
  3. [SOLVED] Extract Number from text
    By triaji in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2014, 04:02 AM
  4. extract number from text and number cell
    By south in forum Excel General
    Replies: 15
    Last Post: 08-23-2014, 03:28 AM
  5. [SOLVED] Extract text and number from a long text
    By tantcu in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-10-2013, 01:13 PM
  6. extract number with dot from text
    By neodjandre in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2008, 03:36 AM
  7. [SOLVED] Extract number from text/number string..
    By nastech in forum Excel General
    Replies: 5
    Last Post: 07-05-2006, 06:25 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