如何将日期字符串转换为 Excel MMM-dd-yyyy 中的日期(例如:APR-01-2010)

How to convert date string to date in Excel MMM-dd-yyyy (eg: APR-01-2010)

我有一个 excel sheet,其中包含超过 10000 条记录。在那个日期存储为字符串。格式为 MMM-dd-yyyy(例如:APR-01-2010)。如何在 Ms Excel 中转换为实际日期

你可以试试:

=0+(MID(A1,5,3)&REPLACE(A1,4,3,))

此致