简体   繁体   中英

Error while creating name manager

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.

i learn this method in http://www.excel-formulas.in/2016/01/names-in-excel-formulas-online.html

Any help?

I don't see how this would relate to the name range manager, anyway...select the cell that you want the string to be placed in and use the following formula

=TEXT(A1,"dddd dd mmmm yyyy")

You can edit how you want the date to be displayed inside the quotes

dddd = Monday, Tuesday...
ddd = Mon, Tue...
dd = 01, 02...
d = 1, 2...

mmmmm = J, F...
mmmm = January, February...
mmm = Jan, Feb...
mm = 01, 02...
m = 1, 2...

yyyy = 2016, 2017...
yy = 16, 17...

Hope this helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM