Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default turn off convert text to date (i.e. 4-9 to April 9, 2006)

How do I prevent Excel from automatically converting text that looks
like a date into a date. For example, if I type in 5-23 or 5/23, I
need to prevent Excel from converting it into May 23, 2006. In the
data I have, such text is not a date. Putting a single quote in front
of the apparent date to make it text is not a feasible option.

Similarly, does anyone know how turn off all the automatic formatting
in Word?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default turn off convert text to date (i.e. 4-9 to April 9, 2006)


That worked. Thanks.

Dave Peterson wrote:
If you're using Data|Text to columns, then make sure you choose Text for that
field.

" wrote:

Doesn't work, unfortunately. I'm using the text-to-columns feature,
and that may be overriding the cell formatting but I'm not sure...

Bondi wrote:
wrote:
How do I prevent Excel from automatically converting text that looks
like a date into a date. For example, if I type in 5-23 or 5/23, I
need to prevent Excel from converting it into May 23, 2006. In the
data I have, such text is not a date. Putting a single quote in front
of the apparent date to make it text is not a feasible option.

Similarly, does anyone know how turn off all the automatic formatting
in Word?
Hi,

If you format the cells as Text befor you write 5-23 i belive it will
stay that way and not turn it into a date.

Regards,
Bondi


--

Dave Peterson


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
Count items when specific text and date criteria are met javamom Excel Worksheet Functions 8 April 24th 06 09:28 PM
HOW DO I ENTER THIS FORMULA TO CONVERT TEXT TO DATE =DATEVALUE(, Carter Excel Worksheet Functions 4 March 15th 06 02:18 PM
Convert a Date to Text? Dave76Mizzou Excel Worksheet Functions 1 March 9th 06 01:32 AM
Need help: convert seconds to date and time misty1 Excel Discussion (Misc queries) 2 November 26th 05 04:12 AM
How do I convert a text string into a date? JJMCDD02 Excel Worksheet Functions 4 November 25th 05 12:35 PM


All times are GMT +1. The time now is 12:16 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"