what is wrong with this formula "=DATEVALUE(TRIM(CLEAN(B2)))"
- User
what is wrong with this formula "=DATEVALUE(TRIM(CLEAN(B2)))"
- Assistant
The formula
=DATEVALUE(TRIM(CLEAN(B2)))is generally used to convert a text string that looks like a date into an actual date serial number that Excel can understand.Potential issues with this formula:
-
DATEVALUEexpects a text string in a recognizable date format
-
- User
the text in cell B2 is 1/03/2025
- Assistant
Thanks for the clarification!
The text in B2 is . How Excel interprets this date string depends on your :