The Excel MONTH function, returns an integer representing the month of the year (from 1 – 12) of a supplied date.
Syntax: MONTH( date )
where the date argument can be supplied to the function as either a reference to a cell containing a date or a date returned from another function or formula
Warning: If you attempt to input the date argument as text, there is a chance that Excel may misinterpret this, depending on the date system, or date interpretation settings on your computer. Also, although you can input the date as a serial number, this is not recommended, as the serial numbers may vary across different computer systems.
Month Function Examples
The following example shows the month function used to extract the month from 3 different dates. The spreadsheet on the left shows the format of the function and the spreadsheet on the right shows the results for the 3 dates.
Note that, in the above examples, as recommended by Microsoft, the date value is always supplied as either a reference to a cell containing a date, or as a value returned from another function.
Excel Month Function Common Problem
The result of your Month function looks like a date (eg. “01/01/1900”), instead of returning an integer.
This problem arises because the new cell or column is formatted as a ‘date’. In this case, it is only the formatting of the cell that is wrong, NOT the value returned by the function.
To correct this,
- Under the Category heading, select the option General and click OK