Forum Discussion
lornafnb
4 years agoHelper I
Multiple date formats in column
Good day - my first post on the Forum! :)- I'm reading from an Excel file, and the format of the date column is either 2021/11/08, or March '22 (in this case, it can default to 2022/11/01). I su...
- 4 years ago
Leave everything, in a custom column put this. That's it.
= Date.From(if Text.Contains(Text.From([Live date]),"'") then "1"&Text.Replace([Live date],"'","") else [Live date])If you want to convert this column to a date, select column - Transform tab - Detect data type
Vijay_A_Verma
4 years agoMost Valuable Professional
Leave everything, in a custom column put this. That's it.
= Date.From(if Text.Contains(Text.From([Live date]),"'") then "1"&Text.Replace([Live date],"'","") else [Live date])If you want to convert this column to a date, select column - Transform tab - Detect data type
lornafnb
4 years agoHelper I
Stunning - it works. Please may you explain what made it work?
Appreciate your assistance.