Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I convert dates in Excel?

How do I convert dates from yyyymmdd120000[0:GMT] to mm/dd/yyyy in Excel 2003?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default How do I convert dates in Excel?

If the date is in A1 try:

=--TEXT(LEFT(A1,14),"0000-00-00 00\:00\:00")

and format the result in mm/dd/yyyy date format.

On Feb 6, 3:54 pm, JDMocko wrote:
How do I convert dates from yyyymmdd120000[0:GMT] to mm/dd/yyyy in Excel 2003?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default How do I convert dates in Excel?

=DATE(LEFT(A21,4),MID(A21,5,2),MID(A21,7,2))

and format to the required date format.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"JDMocko" wrote in message
...
How do I convert dates from yyyymmdd120000[0:GMT] to mm/dd/yyyy in Excel
2003?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default How do I convert dates in Excel?

Format - cell - custom mm/dd/yyyy

"JDMocko" wrote:

How do I convert dates from yyyymmdd120000[0:GMT] to mm/dd/yyyy in Excel 2003?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default How do I convert dates in Excel?

u could try using activecell.value=format(activecell.value,mm/dd/yyyy)
or as ur requirement is the normal date format u could just save the value
to a variable declared as date and store it again in the destination cell
regards
nc

"JDMocko" wrote:

How do I convert dates from yyyymmdd120000[0:GMT] to mm/dd/yyyy in Excel 2003?

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
How do I sort dates in Excel Lorene Schertzl Excel Discussion (Misc queries) 3 March 30th 06 01:52 AM
Convert excel 2003 (in xml format) to excel 2000 ac Excel Discussion (Misc queries) 4 March 7th 06 02:21 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
how do i convert an excel file from a mac to a file on excel for . jon33mvh Excel Discussion (Misc queries) 0 January 25th 05 02:19 AM


All times are GMT +1. The time now is 06:46 PM.

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"