算了,我还是曲线救国,先用swich()把Aug转换为08,再转为日期型数据了。
公式为(假设字符串在C2单元格):
todate(REPLACE(C2,MID(C2,4,3),SWITCH(MID(C2,4,3),"Jan","01","Feb","02","Mar","03","Apr","04","May","05","Jun","06","Jul","07","Aug","08","Sep","09","Oct","10","Nov","11","Dec","12")),"dd-MM-yy")