Forum Discussion
swabeeh
Apr 23, 2024Copper Contributor
text to date
Need to transform the string which contain start and end date to seperat cell
HansVogelaar
Apr 23, 2024MVP
Or:
=LET(md, TEXTBEFORE(B2, " -"), d, TEXTAFTER(md, " "), m, TEXTBEFORE(md, " "), y, TEXTAFTER(B2, ", "), DATEVALUE(d&"-"&m&"-"&y))
and
=LET(md, TEXTAFTER(TEXTBEFORE(B2, ","), "- "), d, TEXTAFTER(md, " "), m, TEXTBEFORE(md, " "), y, TEXTAFTER(B2, ", "), DATEVALUE(d&"-"&m&"-"&y))
Format the cells with the formulas as date, then fill down.