ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Date to Text (https://www.excelbanter.com/excel-programming/339165-date-text.html)

[email protected][_2_]

Date to Text
 
Hi, this is probably easy but I cant work it out. If I have 28/1/05 in
a cell, formated as dates, how can I retain the 28/1/05 when changing
to text format, at the momment it change to numbers (31...). Ive got
hundreds of dates to convert, I Know I can type ' infront of the date
and this works, but there must be a quicker way.
Regards Robert


Gord Dibben

Date to Text
 
Select the data range.

DataText to ColumnsNextNextColumn Data FormatTextFinish.


Gord Dibben Excel MVP

On 4 Sep 2005 10:25:49 -0700, wrote:

Hi, this is probably easy but I cant work it out. If I have 28/1/05 in
a cell, formated as dates, how can I retain the 28/1/05 when changing
to text format, at the momment it change to numbers (31...). Ive got
hundreds of dates to convert, I Know I can type ' infront of the date
and this works, but there must be a quicker way.
Regards Robert



KL

Date to Text
 
Depending on what exactlyyou need to do, another option would be to use the
TEXT function:

=TEXT(A1,"dd/mm/yyyy")

Regards,
KL


wrote in message
ups.com...
Hi, this is probably easy but I cant work it out. If I have 28/1/05 in
a cell, formated as dates, how can I retain the 28/1/05 when changing
to text format, at the momment it change to numbers (31...). Ive got
hundreds of dates to convert, I Know I can type ' infront of the date
and this works, but there must be a quicker way.
Regards Robert




[email protected][_2_]

Date to Text
 
Thankyou to you both, So easy when you know how, I went with Gord
Dibben suggestion.
Regards Robert



All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com