ExcelCSE.com

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

Excel DATEVALUE Function

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

Excel DATEVALUE Function

What is the Excel DATEVALUE Function?

The DATEVALUE function converts a text representation of a date into a proper excel date (a serial number recognized as a date by Excel). Proper excel DATE is more useful than a date represented as text when you want to manipulate data, like sorting, filtering or summaries and perform the date-based analysis.

DATEVALUE Syntax

DATEVALUE (date_text)

date_text, mandatory, a text represents a date format, could be written directly in an argument or stored in a cell.

Usage Notes:

  1. Return error #VALUE
  • If the date_text argument falls outside of January 1, 1900, and December 31, 9999 range
  • If the date_text argument contains no text in date format
  1. If you don’t write the year part of the date_text argument, then Excel will use the year based on the current date on the computer.

How to Use DATEVALUE Function in Excel

For example, there are data such as the image below. The first data until the sixth data is a TEXT while the seventh data is a DATE. What is the result of each DATEVALUE function in column C?

DATEVALUE Function in Excel

DATEVALUE Function #1

12/1/2017 is a text with “mm/dd/yyyy” date format for December 1, 2017. The result is 43070.

DATEVALUE Function #2

Dec 1, 2017, same as the first data but different format. The result is 43070.

DATEVALUE Function #3

01-Dec-2017 same as the two previous examples, the same date but different formats. The result is 43070.

DATEVALUE Function #4

01-Dec, there are only date and month, no year information, Excel will use the current year on the computer (the current year is 2018). The result is 43435

DATEVALUE Function #5

01-Dec-1890 is a text with “mm-Mon-yyyy” date format for December 1, 1890. The result is error #VALUE. Why? Because 01-Dec-1890 is outside range from January 1, 1900, until December 31, 9999

DATEVALUE Function #6

“date” is a text without a date format. The result is error #VALUE. The date_text argument must contain text and has a date format than Excel will convert it to a DATE.

DATEVALUE Function #7

12/1/2018 is a DATE (by default right aligned) no need to be converted by the DATEVALUE function, if forced to convert will even generate an error.

The all results are as shown below

How to Use DATEVALUE Function in Excel

DATEVALUE Example in Excel

Another article using or explain about DATEVALUE Function
  • SUMIF Multiple Criteria
  • SUMIFS Limitations and Solutions

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
Usefull links
  • Microsoft DATEVALUE function documentation
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

Excel SUMIF Function
What is the Excel SUMIF Function SUMIF is a function …

Excel SUMIF Function

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

Excel AGGREGATE Function

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

Excel AVERAGEIFS Function

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

Excel SUBTOTAL Function

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

Excel REPLACE Function

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