+ Reply to Thread
Results 1 to 3 of 3

Number in text to value

  1. #1
    Registered User
    Join Date
    07-15-2018
    Location
    Poznan, Poland
    MS-Off Ver
    MS Office 2013
    Posts
    1

    Number in text to value

    Hello everyone
    Is it possible to convert text like "150km" into value?

  2. #2
    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: Number in text to value

    You probably haven't given us enough information.... Is the number ALWAYS at the start of the cell content??? If so,

    =LOOKUP(10^10;--LEFT(A2;ROW($1:$10)))
    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

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,175

    Re: Number in text to value

    Try:

    =VALUE(SUBSTITUTE(A1,"km",""))

+ 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] Count number of lines based on text and number criteria, without duplicates
    By HVCompleto in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2017, 07:17 AM
  2. VBA: Multiple text and number columns. Find list and number of unique words
    By first_jaguar in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-14-2017, 09:58 PM
  3. [SOLVED] Geting highest number value from list with values which are text/number combinations
    By igormigor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-25-2016, 10:48 AM
  4. Replies: 5
    Last Post: 11-30-2014, 07:56 AM
  5. [SOLVED] Formula to count the number of spaces before text/number is written in a cell.
    By kmis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-12-2013, 05:05 PM
  6. Replies: 6
    Last Post: 01-31-2013, 02:50 AM
  7. Replies: 6
    Last Post: 07-29-2008, 03:23 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