+ Reply to Thread
Results 1 to 7 of 7

Extracting numbers from Text

  1. #1
    Registered User
    Join Date
    02-15-2015
    Location
    Harare
    MS-Off Ver
    2007
    Posts
    4

    Extracting numbers from Text

    Hi Guys

    Need help. I need to extract numbers which are among text such as the following:

    Vendas 440kgs s/2
    Vendas 240kgs s/2
    Vendas 160kgs s/2
    Vendas 210kgs s/3
    Vendas 80kgs s/4
    Vendas 80kgs s/4
    Vendas 1341.5kgs s/4
    Vendas 75kgs s/4
    Vendas 205kgs s/4
    Vendas 320kgs s/4
    Vendas 402.5kgs s/4
    Vendas 418.5kgs s/5
    Vendas 404kgs s/5
    Vendas 45kgs s/5
    Vendas 978kgs s/5
    Vendas 959kgs s/5

    I need to do this without using Text to Columns because its cutting my data in different places.

    Please help

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Extracting numbers from Text

    And what should be the result?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    02-15-2015
    Location
    Harare
    MS-Off Ver
    2007
    Posts
    4

    Re: Extracting numbers from Text

    The results should be:

    Column A Column B Column C
    Vendas kgs S/2(week 2)

    Thanks

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Extracting numbers from Text

    It's not that clear what you want as a result, but this will return the number of kgs, as a number and not as text. Assumes data start in A1.

    =LEFT(SUBSTITUTE(A1,"Vendas ",""),FIND("kgs",SUBSTITUTE(A1,"Vendas ",""))-1)+0
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Extracting numbers from Text

    maybe this is what you wanted.... Your last post and mine passed by in cyberspace...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-15-2015
    Location
    Harare
    MS-Off Ver
    2007
    Posts
    4

    Re: Extracting numbers from Text

    Thank You. That helped a lot. Awesome!!!

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Extracting numbers from Text

    Woo Hoo. I got it right first time, I think...

+ 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] Extracting Numbers from Text
    By KCHCEXCELME in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2013, 11:38 AM
  2. [SOLVED] extracting numbers from a string of text and numbers
    By ScottLor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2013, 04:47 PM
  3. Extracting numbers and text from inconsistent text/number formatted string
    By Brandivil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-25-2013, 01:46 PM
  4. Extracting Text and Numbers
    By mcmuney in forum Excel General
    Replies: 1
    Last Post: 01-12-2011, 06:35 PM
  5. Replies: 17
    Last Post: 03-03-2010, 06:55 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