A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
You can =A1 directly for a date and set to number format.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Try to use the Excel function DATEVALUE(cell) but got systematically #VALUE!" error message. The cell content example can be anything such as 1/1/2023 or 45000. However, when putting DATEVALUE("1/1/2023)", it works well
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
From DATEVALUE function:
"The DATEVALUE function converts a date that is stored as text to a serial number that Excel recognizes as a date."
1/1/2023 and 45000 are not text values. "1/1/2023" is text.