Cant understand why i cant apply formula

Occasional Contributor

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


10 Replies


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.

благодарю @Sergei Baklan 

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




@Sergei Baklan 



A sample file will go a long way to get help from many experts here

@Sergei Baklan semicolon worked, thank you so much:)


now the new issue -> instead of year it shows YYYY, do you know maybe how to fix that?


Best Response confirmed by Kwaker (Occasional 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


And what is in formula bar for E2?

mm/dd/rrrr h:mm
i think the issue that im using CZ locale, its really pain


Most probably yes, data format you use doesn't meet your locale settings.