Excel Month function returns wrong month

Anonymous
2021-01-14T08:19:48+00:00

I've entered a really simple formula =Month(2) expecting to have february (or) "2" returned - depending on my cell format. But no matter what serial number I enter, January is always returned. see below screenshots.

I've tried clearing all formatting and restarting excel. Not sure why the function is mulfunctioning

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2021-01-14T09:10:50+00:00

    Hi J_231,

    I apologize for all the trouble it has caused and sorry about your time.

    As per your description, I have meet same behavior as you mentioned (it always returns 1), see image below for you reference:

     Image

     Image

    To get month as a number (1-12) from a date the Syntax is “=MONTH (date)”. The MONTH function extracts the month from a given date as number between 1 to 12. Here is example screenshot.

    Image

    For reference: MONTH function

    Since, as per your description it seems you  want to convert serial number(1-12) to Month name or****to return a month's full name, you use the TEXT function as shown in the following formula example: =TEXT(A9*29,"mmmm")

     Image

    I appreciate your patience and understanding.

    Best Regards

    Waqas Muhammad

    17 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2021-01-15T09:26:30+00:00

    Hi J_231,

    Feel free to post back if you need further assistance. 

    Best Regards,

    Waqas Muhammad

    0 comments No comments