change custom format number to text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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
 
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,
 
Thanks George - just what i needed

George Nicholson said:
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,
 
Back
Top