+ Reply to Thread
Results 1 to 3 of 3

TEXT & MONTH Formulas returning wrong Month

  1. #1
    Registered User
    Join Date
    08-03-2010
    Location
    Boston, MA
    MS-Off Ver
    Excel 2007
    Posts
    4

    TEXT & MONTH Formulas returning wrong Month

    Should be simple, I believe the problem is with the TEXT function. I'm trying to return the name of the Month associated with a Date in a separate cell. Problem is, regardless of the date my formula returns 'January"

    Here's the formula '=TEXT((MONTH(D823)),"mmmm")'

    Cell D823 contains my date '10/4/10' - It's in date format (serial number 40455 if it was in general)

    Error checker says the MONTH fnctn returns '10' as the month, but TEXT returns January, not October. Tried it on different dates, same result.

    Any ideas?

    Thanks!
    Last edited by dwoodrocksyourb; 10-07-2010 at 10:51 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: TEXT & MONTH Formulas returning wrong Month

    You don't need the MONTH function after your TEXT.

    =TEXT(D823,"mmmm")

    What you're doing is first changing the date into the month number (10) and then evaluated that as a date which is the 10th of January 1900 and formatting that as mmmm.

    Does that help?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-03-2010
    Location
    Boston, MA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: TEXT & MONTH Formulas returning wrong Month

    Perfect - Thanks Guru, you guys make my trial and error method of learning excel possible!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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