+ Reply to Thread
Results 1 to 7 of 7

changing non-numbers to numbers

  1. #1
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    changing non-numbers to numbers

    Hi

    If the cells contains "12 345" (without the colons but with the space in between) and "24,0" (without the colons but with the comma), is there a way to convert them both to numbers so that calculations may be done on them?

    thanks

    LL

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: changing non-numbers to numbers

    You would need to put the numbers into two separate cells, i.e. 12 in one cell and 345 in another cell. You could do this using Data | Text-to-Columns, using space as the delimiter. Similar for the other pair of numbers, but using comma as the delimiter.

    Hope this helps.

    Pete

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: changing non-numbers to numbers

    There are many ways to interpretate your question.

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Last edited by Marcol; 09-06-2013 at 06:00 AM.

  4. #4
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    Re: changing non-numbers to numbers

    Hi, spreadsheet attached.
    Attached Files Attached Files

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: changing non-numbers to numbers

    Try this, drag/fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: changing non-numbers to numbers

    You can use this formula:

    =--SUBSTITUTE(SUBSTITUTE(A2," ",""),",",".")

    then copy down.

    Hope this helps.

    Pete

  7. #7
    Forum Contributor
    Join Date
    12-22-2012
    Location
    Asia
    MS-Off Ver
    Microsoft 365
    Posts
    234

    Re: changing non-numbers to numbers

    Thanks everyone. It works!

+ 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] Changing negative numbers into whole numbers
    By jono7gold in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-14-2013, 01:13 PM
  2. [SOLVED] Formula for changing numbers into written numbers
    By southsindygirl in forum Excel General
    Replies: 2
    Last Post: 10-22-2012, 01:41 PM
  3. changing numbers and symbols in a cell to be all numbers
    By veronicadx in forum Excel General
    Replies: 7
    Last Post: 04-28-2011, 12:07 PM
  4. Changing a row of positive numbers to negative numbers
    By Wendyobw in forum Excel General
    Replies: 5
    Last Post: 10-23-2009, 02:56 PM
  5. Replies: 2
    Last Post: 06-14-2006, 09:15 AM

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