SOLVED

Cant understand why i cant apply formula

Copper 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: 

Kwaker_0-1585571009600.png

and im not able to fix it, could you please find the solution please? thank you

 

10 Replies

@Kwaker 

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

 

Kwaker_0-1585571691493.png

 

@Sergei Baklan 

@Kwaker 

 

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

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

Kwaker_0-1585572285269.png

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

 

best response confirmed by Kwaker (Copper Contributor)
Solution

@Kwaker 

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

@Kwaker 

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

@Kwaker 

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

1 best response

Accepted Solutions
best response confirmed by Kwaker (Copper Contributor)
Solution

@Kwaker 

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

View solution in original post