#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Date and time

Hi all,

I've got a worksheet containing multiple columns with data. One of the rows
is a combination of yyyy/mm/dd/hr/mn/sd (20080908081442) except form '/'.
Excel also indicates the data in this column with an error indicator. However
when I use text to columns or format cells the desired result, creating a
clear view of the date and time (2008/09/08 08:14:42), is not managed. Anyone
has an idea how to solve this?!

Thnx

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Date and time

=DATE(LEFT(A1,4),MID(A1,5,2),MID(A1,7,2))+TEXT(RIG HT(A1,6),"00\:00\:00")

--
__________________________________
HTH

Bob

"Basta1980" wrote in message
...
Hi all,

I've got a worksheet containing multiple columns with data. One of the
rows
is a combination of yyyy/mm/dd/hr/mn/sd (20080908081442) except form '/'.
Excel also indicates the data in this column with an error indicator.
However
when I use text to columns or format cells the desired result, creating a
clear view of the date and time (2008/09/08 08:14:42), is not managed.
Anyone
has an idea how to solve this?!

Thnx



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Date and time

or =--TEXT(A1,"0000\/00\/00 00\:00\:00")
--
David Biddulph

"Bob Phillips" wrote in message
...
=DATE(LEFT(A1,4),MID(A1,5,2),MID(A1,7,2))+TEXT(RIG HT(A1,6),"00\:00\:00")

--
__________________________________
HTH

Bob

"Basta1980" wrote in message
...
Hi all,

I've got a worksheet containing multiple columns with data. One of the
rows
is a combination of yyyy/mm/dd/hr/mn/sd (20080908081442) except form '/'.
Excel also indicates the data in this column with an error indicator.
However
when I use text to columns or format cells the desired result, creating a
clear view of the date and time (2008/09/08 08:14:42), is not managed.
Anyone
has an idea how to solve this?!

Thnx





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
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 02:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Worksheet Functions 1 December 2nd 04 12:04 AM


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