Forum Discussion
Echosteve
Jan 07, 2022Copper Contributor
Changing time only from 24hr to 12hr in a date time cell
How can I convert mm/dd/yyyy hh:mm:ss to mm/dd/yyyy hh:mm AM/PM? I do not want to change the date, only the time from 24hr to 12hr.
- Jan 07, 2022
Depends on how data is structured, but in general by formulas.
One variant, select column with such texts, Data->Texts to Columns, on second step is Space as delimiter
on third step Date for first column with MDY
Sum received columns in another one, copy result and Paste as values, apply any desired format.
That's okay if in source column in some cells will be texts (e.g. headers), above affects them if only texts have space inside. When also will be split.
alannavarro
Jan 07, 2022Iron Contributor
- EchosteveJan 07, 2022Copper ContributorI have tried that but for some reason nothing changes.
- SergeiBaklanJan 07, 2022Diamond Contributor
Perhaps you have texts which looks like dates, not dates which are actually numbers.
- EchosteveJan 07, 2022Copper ContributorYou are probably correct. How do I change that?