Forum Discussion
Cant understand why i cant apply formula
Good day, i'm hereby asking for help :
I'm trying to apply formula (
=TEXT(E2,"mm/dd/yyyy hh:mm")
but its giving me this error:
and im not able to fix it, could you please find the solution please? thank you
Yes, only applying the format won't convert text to date. How to convert it depend what is your OS default format. As variant you may use Text to Columns - first split on date and time, when to date apply wizard with MDY format on third step, combine date and time back.
If that's your native format you may convert by adding zero, with Paste Special ->Add or by formula
10 Replies
- SergeiBaklanDiamond Contributor
Formula itself is correct if you are on English SKU. In other locale try to use semicolon instead of comma.
Even with correct formula it changes nothing, most probably in column E you have texts, not dates.
- KwakerCopper Contributor
SergeiBaklan semicolon worked, thank you so much:)
now the new issue -> instead of year it shows YYYY, do you know maybe how to fix that?
- SergeiBaklanDiamond Contributor
And what is in formula bar for E2?
- KwakerCopper Contributor
thanks for reply, originally it was text - i changed to custom type : but seems it didnt work 😞
so i should convert to Numbers firts and than to custom type? thank you again
- SergeiBaklanDiamond Contributor
Yes, only applying the format won't convert text to date. How to convert it depend what is your OS default format. As variant you may use Text to Columns - first split on date and time, when to date apply wizard with MDY format on third step, combine date and time back.
If that's your native format you may convert by adding zero, with Paste Special ->Add or by formula
- KwakerCopper Contributor
благодарю SergeiBaklan