将日期字段转换为Excel中的文本 [英] Convert date field into text in Excel
本文介绍了将日期字段转换为Excel中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
dd-mm-YYYY
。 我需要将该字段转换为文本。如果我更改字段类型excel将其转换为一个奇怪的值(如 40603
)。
我尝试了文本功能,但它给我错误508。
任何帮助?
解决方案
您不需要转换原始条目 - 您可以在连接公式中使用TEXT功能,例如在A1中的日期使用这样的公式
=今天是& TEXT(A1,dd-mm-yyyy)
您可以根据需要更改dd-mm-yyyy部分
I have an Excel file which has a column formatted as date in the format dd-mm-YYYY
.
I need to convert that field to text. If I change the field type excel converts it to a strange value (like 40603
).
I tried the text function but it gives me Error 508.
Any help?
解决方案
You don't need to convert the original entry - you can use TEXT function in the concatenation formula, e.g. with date in A1 use a formula like this
="Today is "&TEXT(A1,"dd-mm-yyyy")
You can change the "dd-mm-yyyy" part as required
这篇关于将日期字段转换为Excel中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文