ExcelCSE.com

Menu
  • Excel 101
  • Excel Functions
  • Excel Formula
  • Contact Us
How to Use Excel > Excel Functions > Excel MONTH Function

Excel MONTH Function

How to Use Excel MONTH Function
Table of contents :
  • What is the Excel MONTH Function?
  • MONTH Syntax
  • How to Use MONTH Function in Excel
  • MONTH Example

Excel Month Function

What is the Excel MONTH Function?

The Excel MONTH function extracts the month number from a date, returns an integer number, ranging from 1 (January) to 12 (December).

Use the DAY function to extract a day number and use the YEAR function to extract a year number

MONTH Syntax

MONTH(serial_number)

serial_number, required, a valid date in a format Excel recognizes.

Usage Note:

  • Excel returns a #VALUE! error if the date in the serial_number argument outside the range January 1, 1900, to December 31, 9999.

How to Use MONTH Function in Excel

Look at the picture below; there are seven dates in column A with various display formats. Column B contains the MONTH function for each date in the same row.

Column B displays the numbers 1 through 12 depending on the month data for each date, but row 7 and 8 generate a #VALUE! errors. Why? Let’s see one by one.

Month Function in Excel

MONTH Function #1 – Month Function #5

The date display on the worksheet can have various formats, depending on what kind of display we will format, but a valid Excel date has the same format according to the Windows regional setting for each computer.

If you want to know a valid excel date format, look at the formula bar. The image below shows the windows regional settings have the mm/dd/yyyy format, a valid excel date format will make the MONTH function return numbers between 1 and 12.

Month Function

MONTH Function #6

The date in cell A7 has the same display format as the date of the cell A2, but why does the MONTH function return the correct month number for cell A2 and return an error for cell A7?

How to Use Month Function in Excel

Please see the picture above, cell A7 display is the same as cell A2, but data in cell A7 is a text. Look at the formula bar, the valid excel date format is different, there is a single quotation mark in front, this indicates that data in cell A7 is a text, not a date.

MONTH Function #7

Why does the MONTH function #7 return errors? Isn’t the valid excel date format the same as windows regional settings. Right, but the date entered outside January 1, 1900, to December 31, 9999 range. Outside the range is the cause of the error.

MONTH Example

Another article using or explain about MONTH Function
  • How to Extract Day, Month and Year from Date in Excel
  • How to Add Days, Weeks, Months and Years to a Date in Excel
  • How to Separate Date and Time in Excel
  • Excel MONTH Function

Another Date/Time Function

Another article about Date/Time Function
  • Excel WEEKDAY Function
  • Excel TIMEVALUE Function
  • Excel TIME Function
  • Excel HOUR Function
  • Excel MINUTE Function
  • Excel SECOND Function
  • Excel DATE Function
  • Excel YEAR Function
  • Excel MONTH Function
  • Excel DAY Function
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

Excel TRIM Function
What is the Excel TRIM Function? The excel TRIM function …

Excel TRIM Function

Excel YEAR Function
What is the Excel YEAR Function? The Excel YEAR function …

Excel YEAR Function

Excel SECOND Function
What is the Excel SECOND Function? The Excel SECOND function …

Excel SECOND Function

Excel REPT Function
What is the Excel REPT Function? The excel REPT function …

Excel REPT Function

Multiple IF Statements in Excel
What is Multiple IF Statements? Multiple IF statements are also …

Multiple IF Statements in Excel

Tags:Date/Time Function Excel Date Functions How to Use Month Function in Excel Month Function Month Function in Excel

Categories

  • Excel 101
  • Excel Formula
  • Excel Functions

Recent Posts

  • Get the Original Price from Percentage Increase/Decrease
  • How to Add/Subtract Percentage in Excel
  • How to Extract Day, Month and Year from Date in Excel
  • How to Add Seconds, Minutes and Hours to a Time in Excel
  • How to Add Days, Weeks, Months and Years to a Date in Excel
  • How to Calculate Time Difference in Excel
  • Calculate Number of Days, Weeks, Months and Years Between Two Dates in Excel
  • Flash Fill Excel
  • Paste Special Excel
  • Excel TEXTJOIN Function
  • Excel CONCAT Function
  • Excel CONCATENATE Function
  • Excel REPLACE Function
  • Excel SUBSTITUTE Function
  • Excel REPT Function
  • Excel FIND Function
  • Excel SEARCH Function
  • Excel MID Function
  • Excel RIGHT Function
  • Excel LEFT Function

ExcelCSE.com

The Ultimate Guide How to Use Excel Better
Copyright © 2024 ExcelCSE.com
Contact Us - Privacy Policy - Sitemap | Theme by MyThemeShop.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh