Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
fgg fgg is offline
external usenet poster
 
Posts: 2
Default from "date" to "text"

Hi there,

I have cells formatted as date (e.g. 11/9/03) and I'd like to change
the format to text. But when I do it, the values change as well (e.g.
"36472"). What can I do to avoid this?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default from "date" to "text"

You can't. Dates, to Excel, are the number of days since Jan 1, 1900. That's
the what you are seeing when you try to change the format to text.

You need to tell us why you want it as text. You have lots of other choices
of formats available.

If you absolutely have to have text, you will need to create a helper cell,
and use a formula like:
=text(a1,"m/d/yy")

Regards,
Fred

"fgg" wrote in message
...
Hi there,

I have cells formatted as date (e.g. 11/9/03) and I'd like to change
the format to text. But when I do it, the values change as well (e.g.
"36472"). What can I do to avoid this?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default from "date" to "text"

Add a ' in front of the date. However, it's never a good idea to convert
dates/numbers to text.



--
Regards
Dave Hawley
www.ozgrid.com
"fgg" wrote in message
...
Hi there,

I have cells formatted as date (e.g. 11/9/03) and I'd like to change
the format to text. But when I do it, the values change as well (e.g.
"36472"). What can I do to avoid this?

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
fgg fgg is offline
external usenet poster
 
Posts: 2
Default from "date" to "text"

You need to tell us why you want it as text. You have lots of other choices
of formats available.

If you absolutely have to have text, you will need to create a helper cell,
and use a formula like:
=text(a1,"m/d/yy")


Thanks for the suggestions. I'm saving this excel file as *.csv and
opening it in a GIS. But the GIS is having problems reading the
columns with dates and times (e.g. 30:26.4). I thought that a format
change could help, but maybe not.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default from "date" to "text"

Format won't solve your problems. Convert it to text in a different column,
and export that.

Regards,
Fred

"fgg" wrote in message
...
You need to tell us why you want it as text. You have lots of other
choices
of formats available.

If you absolutely have to have text, you will need to create a helper
cell,
and use a formula like:
=text(a1,"m/d/yy")


Thanks for the suggestions. I'm saving this excel file as *.csv and
opening it in a GIS. But the GIS is having problems reading the
columns with dates and times (e.g. 30:26.4). I thought that a format
change could help, but maybe not.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 08:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"