This article describes the formula syntax and usage of the DATEVALUE function in Microsoft Excel.


The DATEVALUE function converts a date that is stored as text to a serial number that Excel recognizes as a date. For example, the formula =DATEVALUE(“1/1/2008”) returns 39448, the serial number of the date 1/1/2008. Remember, though, that your computer’s system date setting may cause the results of a DATEVALUE function to vary from this example

The DATEVALUE function is helpful in cases where a worksheet contains dates in a text format that you want to filter, sort, or format as dates, or use in date calculations.

To view a date serial number as a date, you must apply a date format to the cell. Find links to more information about displaying numbers as dates in the See Also section.



The DATEVALUE function syntax has the following arguments:



Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

=DATEVALUE(“8/22/2011”)Serial number of a date entered as text.40777
=DATEVALUE(“22-MAY-2011”)Serial number of a date entered as text.40685
=DATEVALUE(“2011/02/23”)Serial number of a date entered as text.40597
=DATEVALUE(“5-JUL”)Serial number of a date entered as text, using the 1900 date system, and assuming the computer’s built-in clock returns 2011 as the current year.39634
=DATEVALUE(A2 & “/” & A3 & “/” & A4)Serial number of a date created by combining the values in cells A2, A3, and A4.40850

Leave a Reply

Your email address will not be published. Required fields are marked *

Open chat
ভর্তি/সার্টিফিকেট তথ্য জানতে ক্লিক করুন
Scan the code
আস সালামু আলাইকুম। বিস্তারিত জানতে/ কল করতে ক্লিক করুন Open Chat বাটনে