ExcelCSE.com

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

Excel DAY Function

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

Excel DAY Function

What is the Excel DAY Function?

The DAY function returns integer numbers between 1 to 31 as the day of the months. Use the DAY function to extract a day number from a date.

Use the MONTH function to extract a month number and use the YEAR function to extract a year number

DAY Syntax

DAY(serial_number)

serial_number, required, a valid Excel date in serial number format.

Usage Note:

  • Excel only handles dates from January 1, 1900, to December 31, 9999. Any date outside this range causes all excel date functions to return a #VALUE! errors.

How to Use DAY Function in Excel

For example, there is data as shown below. Column A has six dates, and column B has the DAY function with the serial_number argument pointing to column A in the same row.

Excel DAY Function

All DAY functions in column B returns numbers between 1-31, corresponding to the day of the months of each date, except for the last two DAY function.

Why? Let’s check it one by one.

DAY Function #1 – DAY Function #5

Don’t see how it looks in the worksheet to find out the actual date but see the formula bar. The date appears “Monday, November 8, 1920” in cell A2; the appearance depends on the date format for each cell.

Cell A2 to cell A6 has a different date format, but the actual data in the formula bar has the same format mm/dd/yyyy (this format depends on the regional settings of each computer/country).

DAY Function in Excel

DAY Function #6

Cell A7 appearance is the same as cell A2, why does the DAY function #6 returns a #VALUE! error? Cell A2 has a valid Excel date, formatted and displays the name of the day, the name of the month, day and year.

DAY Function

Cell A7 contains text, not a valid Excel date. Pay attention to the date at the worksheet and formula bar; both do not match the correct excel date format and causes the #VALUE! error.

DAY Function #7

Cell A8 has a valid Excel date, but the date is outside January 1, 1900, to December 31, 9999 range

How to Use DAY Function in Excel

DAY Example

Another article using or explain about DAY 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 DAY Function

Another Day/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 INDEX Function
What is the Excel INDEX Function? The Excel INDEX function …

Excel INDEX Function

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

Excel IFERROR Function

Excel Month Function
What is the Excel MONTH Function? The Excel MONTH function …

Excel MONTH Function

Excel PRODUCT Function
What is the Excel PRODUCT Function? What does product mean …

Excel PRODUCT Function

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

Excel CONCAT Function

Tags:Date/Time Function Day Function Day Function in Excel Excel Date Functions How to Use Day 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