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? |
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? |
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? |
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? |
All times are GMT +1. The time now is 01:34 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com