Convert date field into text in Excel [duplicate]

2019-01-17 02:59发布

This question already has an answer here:

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?

3条回答
Bombasti
2楼-- · 2019-01-17 03:31

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

查看更多
Ridiculous、
3楼-- · 2019-01-17 03:35

If that is one table and have nothing to do with this - the simplest solution can be copy&paste to notepad then copy&paste back to excel :P

查看更多
贼婆χ
4楼-- · 2019-01-17 03:43

You can use TEXT like this as part of a concatenation

=TEXT(A1,"dd-mmm-yy") & " other string"

enter image description here

查看更多
登录 后发表回答