+ Reply to Thread
Results 1 to 5 of 5

TEXT Function Failing in Excel 2016 365 - ONLY READ IF YOU WANT A LAUGH!!!

  1. #1
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    TEXT Function Failing in Excel 2016 365 - ONLY READ IF YOU WANT A LAUGH!!!

    Has anybody else noticed this recently?

    =TEXT(MONTH(TODAY()),"mmm")

    This results in Jan. Why? When I test the formula in the evaluate formula dialog, it resolves to =TEXT(8,"mmm"), then stumbles at the final hurdle. I've been noticing this for a while - does anyone have any insight?

    Thanks.
    Last edited by AliGW; 08-10-2017 at 08:31 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: TEXT Function Failing in Excel 2016 365

    It should be this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    TEXT function will not recognize month by the number
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: TEXT Function Failing in Excel 2016 365

    Thanks, Alex - yes, that works. Of course, I realise now what a dumb question it really was!!!

    dogrun.gif

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: TEXT Function Failing in Excel 2016 365 - ONLY READ IF YOU WANT A LAUGH!!!

    It's working as expected.

    TODAY returns numeric value of date
    =TEXT(MONTH(42957),"mmm")

    MONTH returns the month number in which the date occurs. 8 = August
    =TEXT(8,"mmm")

    And TEXT formats 8 as if it were the date serial number of 08/01/1900 which is first month and that in mmm format in Jan.
    "Jan"
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: TEXT Function Failing in Excel 2016 365 - ONLY READ IF YOU WANT A LAUGH!!!

    I know, Andy ... The penny dropped after Alex posted, but thanks, anyway.

    paperbag.gif

+ 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. how do I add spaces to Excel 2016 text please
    By content123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2016, 07:25 AM
  2. Ms Excel 2016 IF function
    By tryhyper in forum Excel General
    Replies: 9
    Last Post: 08-13-2016, 08:08 PM
  3. Format Cells function not working in excel 2016
    By pongmeister in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-08-2016, 11:58 AM
  4. Replies: 4
    Last Post: 03-30-2016, 11:30 AM
  5. [SOLVED] If err.number... gives expected function or variable in Excel 2016
    By BuZZarD73 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-26-2016, 11:18 AM
  6. Excel 2007 : Hyperlink function failing
    By INEEDHELP321 in forum Excel General
    Replies: 5
    Last Post: 04-20-2012, 05:18 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