+ Reply to Thread
Results 1 to 6 of 6

Removing Numbers from sentence

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Removing Numbers from sentence

    Hi,

    This is Sandesh. I have tried to set one formula which will given the the Numbers of the Vehicle. However as there are other numbers also which makes it difficult to do so.
    So help me in this, it would be highly appreciated.
    attached file is for your reference.
    Attached Files Attached Files

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Removing Numbers from sentence

    See this attached file:
    Attached Files Attached Files
    Gary's Student

  3. #3
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Removing Numbers from sentence

    try this attached file
    Attached Files Attached Files
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  4. #4
    Registered User
    Join Date
    09-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Removing Numbers from sentence

    Hi Naveed,

    Thanks for your quick response. However, i need the formula which will give me those four digit vehicle numbers which highlighted in yellow. so plz so the help.

    Thanks in Advance.

  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: Removing Numbers from sentence

    Do you think this one will work for you?

    =LEFT(MID(A2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789")),SUM(LEN(A2)-LEN(SUBSTITUTE(A2,{0,1,2,3,4,5,6,7,8,9},"")))),4)
    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

  6. #6
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Removing Numbers from sentence

    welcome to the forum, sandesh. i suggest you try every solution provided by the members & acknowledge if it works or doesn't. you missed out one by Jakobshavn. another way if it's always 4 digit:
    =--MID(A2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789")),4)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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. [SOLVED] Removing 'stop words' from a sentence in excel
    By shashankbansal in forum Excel General
    Replies: 8
    Last Post: 06-20-2016, 11:32 PM
  2. VLOOKUP like function that will search text and numbers in a sentence
    By avaadore in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-06-2013, 05:59 AM
  3. How can I extract any numbers from the sentence
    By jigneshkumar.hingu in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2012, 01:40 AM
  4. Replies: 5
    Last Post: 05-14-2012, 11:14 AM
  5. Replies: 3
    Last Post: 06-24-2009, 01:08 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