Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ice_pack
 
Posts: n/a
Default How to convert DATE and TIME to text


Hi,

I am having problem to convert cells with DATE and TIME format to text.
I tried virtually anything but VBA programming. Anybody can help with
simpler methods ?

Thanks a lot


--
ice_pack
------------------------------------------------------------------------
ice_pack's Profile: http://www.excelforum.com/member.php...o&userid=26232
View this thread: http://www.excelforum.com/showthread...hreadid=395275

  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Use the TEXT() function

To convert a date value

=TEXT(TODAY(),"MM/DD/YY")

Same thing with time

=TEXT(NOW(),"hh:mm:ss")



"ice_pack" wrote:


Hi,

I am having problem to convert cells with DATE and TIME format to text.
I tried virtually anything but VBA programming. Anybody can help with
simpler methods ?

Thanks a lot


--
ice_pack
------------------------------------------------------------------------
ice_pack's Profile: http://www.excelforum.com/member.php...o&userid=26232
View this thread: http://www.excelforum.com/showthread...hreadid=395275


  #3   Report Post  
ice_pack
 
Posts: n/a
Default


Did that, no avail. #NAME? error

Here's my worksheet looks like :


Date (cell A1)

8/9/2005 (cell A3, DATE format MM/DD/YYY)
8/10/2005 (cell A4, same DATE format as above)

If at cell C3 and C4 I want to display same date, but with TEXT format,
above formula won't work.

Any idea why ?

Thanks for the reply


--
ice_pack
------------------------------------------------------------------------
ice_pack's Profile: http://www.excelforum.com/member.php...o&userid=26232
View this thread: http://www.excelforum.com/showthread...hreadid=395275

  #4   Report Post  
humejap
 
Posts: n/a
Default


Have you tried using the TEXT function?

e.g.

=TEXT(A1,"DD/MM/YYYY HH:MM:SS")

Assuming cell A1 contains date/time entry


--
humejap
------------------------------------------------------------------------
humejap's Profile: http://www.excelforum.com/member.php...fo&userid=5506
View this thread: http://www.excelforum.com/showthread...hreadid=395275

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
Using VLOOKUP with a Date and Time Charles Excel Discussion (Misc queries) 4 September 20th 05 06:38 PM
convert interval to various separate date , time, hr, minutes Todd F. Excel Worksheet Functions 4 July 12th 05 07:25 PM
Imported Date & Time format with calcs. managed in excel from imrp Todd F. Excel Worksheet Functions 0 July 8th 05 09:03 PM
Convert date to length of time in months from set date MJUK Excel Worksheet Functions 1 March 19th 05 06:31 PM
how do I convert a date and time column to a time column thdorsky2 Excel Worksheet Functions 1 March 4th 05 08:49 PM


All times are GMT +1. The time now is 08:16 AM.

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"