Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Urs Urs is offline
external usenet poster
 
Posts: 1
Default format numbers as text - not working

I have a pre-populated date field, and have attempted to reformat it to text,
and when I do I get a random number instead of my date.

My date field starts as:
21-Dec-1999
and when I change the FORMAT to TEXT, the content now appears as follows:
36515 (on the left side of the cell)

clearly this field is not staying "exactly as you typed it"

Why is this happening and what can I do?
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default format numbers as text - not working

XL stores the date as a serial number. 36,515 days have passed since Jan 1,
1900. If you want to change your date into text you will need to use a
formula as such

=text(a1, "d mmm yyyy")
--
HTH...

Jim Thomlinson


"Urs" wrote:

I have a pre-populated date field, and have attempted to reformat it to text,
and when I do I get a random number instead of my date.

My date field starts as:
21-Dec-1999
and when I change the FORMAT to TEXT, the content now appears as follows:
36515 (on the left side of the cell)

clearly this field is not staying "exactly as you typed it"

Why is this happening and what can I do?
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default format numbers as text - not working

Hi,
if you want to convert to text enter the formula as follow

=TEXT(A6,"dd-mmm-yyyy")

in my example your date is in cell A6, change it to fit your needs

if this helps please click yes, thanks

"Urs" wrote:

I have a pre-populated date field, and have attempted to reformat it to text,
and when I do I get a random number instead of my date.

My date field starts as:
21-Dec-1999
and when I change the FORMAT to TEXT, the content now appears as follows:
36515 (on the left side of the cell)

clearly this field is not staying "exactly as you typed it"

Why is this happening and what can I do?
Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default format numbers as text - not working

Hi Urs,

from the given information, i do not understand why you want to change the
column to TEXT, as date is showing correctly. pl post what you are wanting
to do with this TEXT, so that suitable solutions can be worked out.

"Urs" wrote:

I have a pre-populated date field, and have attempted to reformat it to text,
and when I do I get a random number instead of my date.

My date field starts as:
21-Dec-1999
and when I change the FORMAT to TEXT, the content now appears as follows:
36515 (on the left side of the cell)

clearly this field is not staying "exactly as you typed it"

Why is this happening and what can I do?
Thanks!

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
format text to numbers Davidm Excel Discussion (Misc queries) 1 June 23rd 09 12:23 PM
Convert numbers from text format to number format merlin68 Excel Discussion (Misc queries) 7 June 20th 07 07:03 PM
Text to Numbers NOT working BON Excel Discussion (Misc queries) 4 November 24th 06 11:39 AM
My filter is not working for numbers & text andreas New Users to Excel 1 June 2nd 05 01:26 PM
How do i change numbers in text format to number format? Greg New Users to Excel 1 December 14th 04 05:22 PM


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