#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Convert date to text

I have dates like 02/08/08 in column B

I want to convert them to a text like D02/08/08
Everything I have tried gives an error or D38295 or the like where the
number part is the serial date.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Convert date to text

Hi,

Did you try this?

="D"&TEXT(B1,"dd/mm/yy")

Mike

"Gene Augustin" wrote:

I have dates like 02/08/08 in column B

I want to convert them to a text like D02/08/08
Everything I have tried gives an error or D38295 or the like where the
number part is the serial date.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Convert date to text

Try:

="D"&text(a1,"mm/dd/yy")

Regards,
Fred

"Gene Augustin" wrote in message
m...
I have dates like 02/08/08 in column B

I want to convert them to a text like D02/08/08
Everything I have tried gives an error or D38295 or the like where the
number part is the serial date.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Convert date to text

I have dates like 02/08/08 in column B
I want to convert them to a text like D02/08/08


Assuming that's mm/dd/yy format:

="D"&TEXT(B1,"mm/dd/yy")

--
Biff
Microsoft Excel MVP


"Gene Augustin" wrote in message
m...
I have dates like 02/08/08 in column B

I want to convert them to a text like D02/08/08
Everything I have tried gives an error or D38295 or the like where the
number part is the serial date.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Convert date to text

Hi,

Well I think you've seen the solution. However, if you are ok with a
non-text solution then

Select the cells and choose Format, Cells, Number tab, Custom and enter the
following on the Type line.

"D"m/d/yyyy

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Gene Augustin" wrote:

I have dates like 02/08/08 in column B

I want to convert them to a text like D02/08/08
Everything I have tried gives an error or D38295 or the like where the
number part is the serial date.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Convert date to text

Here is a way to do it without the concatenation operation shown in the
first 3 responses (note the backslash in front of the D)...

=TEXT(A1,"\Dmm/dd/yy")

--
Rick (MVP - Excel)


"Gene Augustin" wrote in message
m...
I have dates like 02/08/08 in column B

I want to convert them to a text like D02/08/08
Everything I have tried gives an error or D38295 or the like where the
number part is the serial date.


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Convert date to text


Use following formula
="D" & TEXT(A1,"mm/dd/yy")



Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com




--
Chris Bode
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
Convert Date to Text Michael Excel Worksheet Functions 2 September 24th 08 05:28 PM
convert text to date samuel Excel Discussion (Misc queries) 2 September 8th 08 09:31 PM
convert a text date to a true date JR Hester Excel Discussion (Misc queries) 20 November 15th 07 07:15 PM
how do i convert text to date (mm/yy text to mm/dd/yyyy date)? lindsey Excel Discussion (Misc queries) 1 July 27th 07 10:05 PM
Help: How do I convert a text date into a real date format japorms Excel Worksheet Functions 4 August 2nd 06 06:36 PM


All times are GMT +1. The time now is 11:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"