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.
我想查看和订购带有日期列的 .csv 文件。
列的格式为:
2013-06-04 14:20:50.000
我已经选择"Cell format-> custom -> aaaa/mm/gg hh:mm:ss"了,如果我不从每个单元格中删除“.000”,这将不起作用。
"Cell format-> custom -> aaaa/mm/gg hh:mm:ss"
正确格式化单元格的自定义公式是什么?
我试过了:
aaaa/mm/gg hh:mm:ss.000但 Excel 告诉我有一个错误。
aaaa/mm/gg hh:mm:ss.000
aaaa/mm/gg hh:mm:ss".000"但什么都没有。
aaaa/mm/gg hh:mm:ss".000"
有任何想法吗?
我怀疑您的数据是文本,但可以很容易地使用 Text to Columns、Delimited 和 Tab 作为分隔符进行转换。
或者,如果使用 Get External Data、From Text、Delimited 导入,则在第 3 步(共 3 步)选择日期的列数据格式并格式化结果以适合。