20100101-20100202转换成两个表格20100101,20100202和20100101-20100202转换成2010⼀01⼀01-2010⼀02⼀02

2024-12-20 10:55:20
推荐回答(1个)
回答1:

假设数据在A1

问题1:
b1=left(a1,8)
c1=mid(a1,10,8)
问题2:
b1=text(text(left(a1,8),"0-00-00"),"e/mm/dd!-")&text(text(mid(a1,10,8),"0-00-00"),"e/mm/dd")