Converts a provided date string in a known format to a date value. Learn more
DATEVALUE is a function in Google Sheetsthat converts a date in text format to a date in serial number format that Excel recognizes as a date. The function syntax is as follows:
DATEVALUE(date_string)
Where:
date_string: The text representation of the date that you want to convert.
The DATEVALUE function returns the serial number that represents the date in Google Sheet's date system. This number can then be formatted as a date in Google Sheets by applying a date format to the cell.
For example, if cell A1 contains the text "01/01/2023", you can use the following formula in another cell to convert it to a date:
=DATEVALUE(A1)
This formula will return the serial number 44725, which represents the date January 1, 2023 in Google Sheet's date system. To display this serial number as a date, you can apply a date format to the cell, such as "MM/DD/YYYY".