Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文本形式的日期,excel 没有像我想要的那样识别为日期和时间。是否有一个公式可以分解此文本,然后将其构建为正确的日期和时间?
01.01.2012 08:00:00.000
=DATE(MID(C5,7,4),MID(C5,4,2),LEFT(C5,2)) + TIME(MID(C5,12,2),MID(C5,15,2),MID(C5,18,2))
当日期字符串在单元格 C5 中时