+ Reply to Thread
Results 1 to 14 of 14

=Text(number,"0")

Hybrid View

  1. #1
    Registered User
    Join Date
    09-11-2017
    Location
    Ottawa, Canada
    MS-Off Ver
    2016 version 1707
    Posts
    7

    Angry =Text(number,"0")

    I just "upgraded" to office 2016 and i was attempting to do some basic spreadsheet stuff. In previous versions if you had 56 in cell A1 and jumped into a text string formula =$a$1&"is a number" the result would be 56 is a number. Office 2016 is forcing me to use the text function. Is there a setting somewhere to resolve this? Can Excel no longer figure out what string =value(56) should look like?

    Grrr,

    Please advise,

  2. #2
    Valued Forum Contributor
    Join Date
    12-01-2016
    Location
    Planet Earth
    MS-Off Ver
    95 - 2016
    Posts
    343

    Re: =Text(number,"0")

    In previous versions if you had 56 in cell A1 and jumped into a text string formula =$a$1&"is a number" the result would be 56 is a number.
    Your example works in all versions; however, you could also use: =CONCATENATE(A1," is a number")

    update: your formula will not work if the cell is format as TEXT. Change it to General or Number.
    Last edited by Syrkrasi; 09-11-2017 at 12:40 PM. Reason: Update

  3. #3
    Registered User
    Join Date
    09-11-2017
    Location
    Ottawa, Canada
    MS-Off Ver
    2016 version 1707
    Posts
    7

    Re: =Text(number,"0")

    This problem is happening right now. It actually doesn't work with my freshly installed 2016 version. Does anyone know of a setting that enables or disables this feature? Of course it is better coding to use the text function, but this is not what we are used to.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: =Text(number,"0")

    if A1 contains A56

    in B1 =right(A1,2)*1 will return 56

    in C1 =B1-4 will return 52

    So instead of =Value(56) try =56*1
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: =Text(number,"0")

    it works
    you can try: =A1&" is a number? "&ISNUMBER(A1)

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: =Text(number,"0")

    Colud you attach excel file with this problem?
    or
    =--TEXT(56,"0") and you will get value as number.
    Last edited by sandy666; 09-11-2017 at 12:48 PM.

  7. #7
    Registered User
    Join Date
    09-11-2017
    Location
    Ottawa, Canada
    MS-Off Ver
    2016 version 1707
    Posts
    7

    Re: =Text(number,"0")

    Perhaps I haven't adequately explained...
    I am used to excel being able to convert a number to a text string just by using it in a text string formula as per the example in the original post. I have installed 2016 and am using it for the first time. I would like to have excel behave in the way I am used to when using numbers in text strings, but sadly it is not. My work around so far is to use the text formula which adds 10 extra characters to my equation each time i wish to reference a number. I submit that there must be a setting somewhere in the bowels of excel that has disabled this auto conversion of values to text used in this context. If anyone is aware of how to manipulate said setting or provide alternate explanation for this phenomenon, it would be greatly appreciated.


  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: =Text(number,"0")

    or check your default settings for Normal style

    style.jpg

  9. #9
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: =Text(number,"0")

    Hi,

    Maybe you turned on one of the Lotus compatibility settings? What happens when you use the formula without TEXT involved?
    Last edited by xlnitwit; 09-11-2017 at 01:05 PM.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: =Text(number,"0")

    So you typing eg. 56 in A1 and this is a text but you want this as number?
    Check format of A1 and if it is text format change to general or number
    or I really don't understand where your problem is

  11. #11
    Registered User
    Join Date
    09-11-2017
    Location
    Ottawa, Canada
    MS-Off Ver
    2016 version 1707
    Posts
    7

    Re: =Text(number,"0")

    Hi, so, Sandy666, the attachment tool doesn't seem to work.
    xlnitwit, without using Text, I get #VALUE! result.
    Cells with numbers are "general" or "number" format.

  12. #12
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: =Text(number,"0")

    Do you have any of the Lotus compatibility options checked for that sheet in the Advanced sections of Excel options? That's the only time I've ever seen & return a #VALUE error (other than concatenation of error cells)

  13. #13
    Registered User
    Join Date
    09-11-2017
    Location
    Ottawa, Canada
    MS-Off Ver
    2016 version 1707
    Posts
    7

    Re: =Text(number,"0")

    xlnitwit, your the winner!!!
    Transition formula evaluation was checked under lotus compatibility.

    Thanks very much!

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: =Text(number,"0")

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 1
    Last Post: 08-15-2014, 06:00 AM
  2. [SOLVED] round number inside IF-THEN to 4 dp --> if(....,"text "&c4&" text",...)
    By EugalB in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2013, 01:00 AM
  3. [SOLVED] How to Count number of "Error" and "OK" after the word "Instrument" found in table row
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 06:26 AM
  4. How can i copy value from "HTMLText"(EMBED("Forms.HTML:Text","")),using Macro
    By andrewyang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2010, 12:47 AM
  5. Replies: 1
    Last Post: 06-30-2006, 07:14 AM
  6. Replies: 1
    Last Post: 06-23-2006, 10:20 AM
  7. convert a number in Excel from numeric to text, i.e. "1" to "one"
    By buenavisionpaul in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2005, 03:06 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