Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
joey
 
Posts: n/a
Default change custom format number to text

i have a long colum of custom formated dates i need to change them into text
in order to prosses them -the custom format is dd/mm/yyyy h:mm the cell reads
01/09/2005 9:30 the number that shows up is 38596.39583 when i try to convert
the format to standard text. is there a function that will do this for me?
  #2   Report Post  
Gary''s Student
 
Posts: n/a
Default

Just add an apostrophy in front of the date. Be sure to do it in the formula
bar.
So if you see 9/16/2005 make it '9/16/2005
--
Gary''s Student


"joey" wrote:

i have a long colum of custom formated dates i need to change them into text
in order to prosses them -the custom format is dd/mm/yyyy h:mm the cell reads
01/09/2005 9:30 the number that shows up is 38596.39583 when i try to convert
the format to standard text. is there a function that will do this for me?

  #3   Report Post  
George Nicholson
 
Posts: n/a
Default

With your date/time value in A2, use the following in an empty column & copy
down:
=TEXT(A2,"dd/mm/yyyy hh:mm")

If using VBA, you can use the Format function with pretty much the same
arguments. Both functions do essentially the same thing: convert a numerical
value into text with the specified formatting.

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"joey" wrote in message
...
i have a long colum of custom formated dates i need to change them into
text
in order to prosses them -the custom format is dd/mm/yyyy h:mm the cell
reads
01/09/2005 9:30 the number that shows up is 38596.39583 when i try to
convert
the format to standard text. is there a function that will do this for me?



  #4   Report Post  
joey
 
Posts: n/a
Default

Thanks George - just what i needed

"George Nicholson" wrote:

With your date/time value in A2, use the following in an empty column & copy
down:
=TEXT(A2,"dd/mm/yyyy hh:mm")

If using VBA, you can use the Format function with pretty much the same
arguments. Both functions do essentially the same thing: convert a numerical
value into text with the specified formatting.

HTH,
--
George Nicholson

Remove 'Junk' from return address.


"joey" wrote in message
...
i have a long colum of custom formated dates i need to change them into
text
in order to prosses them -the custom format is dd/mm/yyyy h:mm the cell
reads
01/09/2005 9:30 the number that shows up is 38596.39583 when i try to
convert
the format to standard text. is there a function that will do this for me?




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
How do I change the default number format ? LarryH Excel Discussion (Misc queries) 1 September 20th 05 02:47 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Custom number format always defaults last number to 0. scubadave Excel Discussion (Misc queries) 2 June 15th 05 10:20 PM
Change Text to a number Brooks W. Excel Worksheet Functions 1 April 28th 05 05:20 AM
How to format text and numbers as custom Julian Ganoudis Excel Discussion (Misc queries) 4 April 4th 05 06:55 PM


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