Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default DATE AND TIME CONVERSION HELP

I download reports in date/time format 2009.03.10 22:35. I would like to
have the year in one column, the time in one column and date in another.
Preferred would be:

Year mo/da hh:mm
2009 03/10 22:35

Any help is greatly appreciated.

John
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default DATE AND TIME CONVERSION HELP

Hi John,
Do Text to column, Fixed with, then click where you want the column to
finish and then click next, next Finish
Hope this help

"John T" wrote:

I download reports in date/time format 2009.03.10 22:35. I would like to
have the year in one column, the time in one column and date in another.
Preferred would be:

Year mo/da hh:mm
2009 03/10 22:35

Any help is greatly appreciated.

John

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default DATE AND TIME CONVERSION HELP

Hi,

I don't think you can do this in one step with the Text to Columns command.
Also, if you system date setting does not use period for separators then you
need to take another approach.

Suppose the entries are in column A starting in A1:

To get the entire date in C1 enter
=--LEFT(SUBSTITUTE(A1,".","-"),10)
and format as a date
To get the time in D1 enter
=--MID(A1,12,5)
and format as a time
to get the year in E1 enter
=YEAR(C1)

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

Cheers,
Shane Devenshire


"John T" wrote:

I download reports in date/time format 2009.03.10 22:35. I would like to
have the year in one column, the time in one column and date in another.
Preferred would be:

Year mo/da hh:mm
2009 03/10 22:35

Any help is greatly appreciated.

John

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
Time conversion M.A.Tyler Excel Discussion (Misc queries) 6 January 26th 09 01:27 AM
Date & Time Conversion from xml import loza Excel Discussion (Misc queries) 2 June 27th 08 09:51 AM
Time Conversion Richard Excel Discussion (Misc queries) 2 June 15th 07 04:04 PM
Time conversion SteveTALL Excel Worksheet Functions 2 December 17th 05 07:16 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


All times are GMT +1. The time now is 12:42 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"