+ Reply to Thread
Results 1 to 19 of 19

Converting text to number in Excel 2013

  1. #1
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Converting text to number in Excel 2013

    Hi, I could import some numbers from notepad to excel 2010, and after right click the cells were converted to General from scientific format. However, when I drag the notepad file to Excel 2013 they cannot be converted to General format. I tried different ways to convert them from text to numbers but they dont work. Even there is no Error button next to the cells to convert them to numbers. What is the way in Excel 2013 to have numbers format when the values are imported from text file?
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Converting text to number in Excel 2013

    The numbers you supply are in scientific format and hence have lost their significant digits. Hence there's no way of getting back to the original number without importing the numbers as numbers or general.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: Converting text to number in Excel 2013

    =A2+0 copy across and down....
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Converting text to number in Excel 2013

    Hi,

    You can convert text to numbers using the Paste Special dialog. See:
    http://spreadsheets.about.com/od/exc...cial.htm#step3

    You can copy a zero and paste special using addition over your text or copy a one and paste special using multiplication over you text.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by Richard Buttrey View Post
    The numbers you supply are in scientific format and hence have lost their significant digits. Hence there's no way of getting back to the original number without importing the numbers as numbers or general.
    With the same numbers I didn't have problem with Excel 2010.

  6. #6
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    =A2+0 copy across and down....
    I tried this way but it gives "VALUE" and no error button to convert it to numbers. Please see attached file.

  7. #7
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by MarvinP View Post
    Hi,

    You can convert text to numbers using the Paste Special dialog. See:
    http://spreadsheets.about.com/od/exc...cial.htm#step3

    You can copy a zero and paste special using addition over your text or copy a one and paste special using multiplication over you text.
    I did it but it doesnt work, please see the new attached file.
    Attached Files Attached Files
    Last edited by relabz; 11-02-2015 at 04:20 AM.

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

    Re: Converting text to number in Excel 2013

    No file attached. I simply used the file attached in your first post, where it was OK.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    No file attached. I simply used the file attached in your first post, where it was OK.
    Thanks, when I open your attached file it is ok, but when I save it in my computer it shows again VALUES in columns G and H! Do you know what the problem is?
    Here is the attachment of your file saved (test2).
    Attached Files Attached Files

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

    Re: Converting text to number in Excel 2013

    Odd. I'll power up a laptop which has 2013 on it in a moment or two.

  11. #11
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    Odd. I'll power up a laptop which has 2013 on it in a moment or two.
    Thank you, could you please tell me the result? I need to work on my data with Excel 2013, but couldn't find how to fix this problem.

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

    Re: Converting text to number in Excel 2013

    They opened as the value error. Clciking on any of the cells brought up the correct result; which stayed OK after saving/closing/opening.

  13. #13
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    They opened as the value error. Clciking on any of the cells brought up the correct result; which stayed OK after saving/closing/opening.
    But It doesnt happen when I click on them. please find the attached pic.
    Attached Images Attached Images

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

    Re: Converting text to number in Excel 2013

    OK. Let's change approach and use a formula to give you a number...


    =--LEFT(C2,FIND("E",C2)-1)*10^--MID(C2,FIND("+",C2)+1,255)

  15. #15
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    OK. Let's change approach and use a formula to give you a number...


    =--LEFT(C2,FIND("E",C2)-1)*10^--MID(C2,FIND("+",C2)+1,255)
    Like this?
    Attached Images Attached Images

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

    Re: Converting text to number in Excel 2013

    It was perfect when it left here... (which is also true of the Titanic and Belfast - where it was built).

    According to your profile you are in "teh". There is a reason for putting something that means something there. Regional settings do differ... Where might "teh" be??? Tehran?? Somewhere else?? Do you use ; instead of , as separators?
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Even if I enter a number manually it saves it as date and the number format shows Custom, and after choosing General it changes to something else. for example in this image I entered 5.84.
    Attached Images Attached Images

  18. #18
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Quote Originally Posted by Glenn Kennedy View Post
    It was perfect when it left here... (which is also true of the Titanic and Belfast - where it was built).

    According to your profile you are in "teh". There is a reason for putting something that means something there. Regional settings do differ... Where might "teh" be??? Tehran?? Somewhere else?? Do you use ; instead of , as separators?
    Thanks, finally it is because of separator, when I enter 5,6 (instead of 5.6) it works and doesn't change to date or something else. Now how can I change settings for separator? I mean I want to have numbers from imported text files which have (.) as separators and have numbers in my excel file with (,) as separator.
    PS by default it is (,)
    Attached Images Attached Images
    Last edited by relabz; 11-02-2015 at 07:05 AM.

  19. #19
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Converting text to number in Excel 2013

    Thanks Glenn for your help.
    I changed the Decimal Symbol to (.) from comma (,) in Control Panel > Region and language > Additional settings > Numbers.

+ 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. Excel 2007 : Converting text to number is taking ages
    By Ruedebeuk in forum Excel General
    Replies: 18
    Last Post: 07-17-2018, 12:14 PM
  2. Need help converting Excel 2013 command into Excel 2010
    By xMaximus in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-03-2015, 06:24 PM
  3. [SOLVED] Problems converting text to general/number cells in excel 2013
    By jofree in forum Excel General
    Replies: 13
    Last Post: 05-11-2015, 02:22 AM
  4. Updating Chart Series After Converting to 2013 Excel
    By samsonyu in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-31-2014, 04:40 PM
  5. [SOLVED] Need help converting Excel 2003 code to work in Excel 2013
    By rls231 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-28-2014, 01:02 AM
  6. Converting 5/29/2013 20:00:00 to text
    By Chonkiz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-13-2013, 10:15 AM
  7. Excel Not Converting Text to Number
    By Marks Khan in forum Excel General
    Replies: 4
    Last Post: 01-01-2009, 03:07 PM

Tags for this Thread

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