The Excel DATEVALUE function converts a date represented as text into a proper Excel date. For example, the formula =DATEVALUE("12/31/2015") returns a serial number in the Excel date system that represents December 31, 2015. Proper Excel dates are more useful than text dates since they can be directly manipulated with formulas and pivot tables to create summaries and perform other date-based analysis.
Convert a date in text format to a valid date
A serial number that represents a particular date in Excel.
date_text - A valid date in text format.
If date_text is a cell address, the value of the cell must be text. If date_text is entered directly into the formula it must be enclosed in quotes.
Will return a #VALUE error if date_text refers to a cell that does not contain a date formatted as text.
When date information from other systems is pasted or imported to Excel, it may not be recognized as a proper date or time. Instead, Excel may interpret this information as a text or string value only.
To convert a...
The Excel TIMEVALUE function converts a time represented as text into a proper Excel time. For example, the formula =TIMEVALUE("9:00 AM") returns 0.375, the numeric representation of 9:00 AM in Excel's time system. Numeric time values are more...