+ Reply to Thread
Results 1 to 8 of 8

text to number problem

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

    text to number problem

    Hi I have run into a problem that I cannot solve!
    It should be simple!
    I have some imported data that I eventually discovered was in text rather than number format.

    I wish to use the last digit value using (right,x,1).
    No matter what I try the digit is not recognised as a number

    Even if I enter a test number and use the function it does not recognise it?

    It would appear that there is a setting I cannot identify which is causing the problem.
    Help would be appreciated as it is driving me mad it should be so simple.

    Regards

    john
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: text to number problem

    Here, try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    03-12-2013
    Location
    Viet Nam
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: text to number problem

    If you want to change text string to value, you try this fomula
    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: text to number problem

    Hi Kingdom42,


    multiply the right formula with 1 like RIGHT(F2,1)*1

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  5. #5
    Registered User
    Join Date
    05-16-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: text to number problem

    Hi All
    thanks for the quick relpies.
    The *1 option worked but I would like to understand why.
    I have checked that it also works if the end digit was some other number.

    if only all services were so quick and relieble.

    Thanks again John

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: text to number problem

    Multiplying by 1 automatically converts the "text numbers" to actual numbers



    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Registered User
    Join Date
    05-16-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: text to number problem

    Hi thanks to everyone .
    problem solved.
    I expect i will find another one soon!
    regards

    john

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: text to number problem

    you are welcome kingdom aka john

    please mark this thread as [SOLVED].. thanks.



    Regards,
    DILIPandey
    <click on below * if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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