#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Process a Time Stamp

Hi I am looking to convert a timestamp in a file such that it is read
as a time in excel.

Currently it comes in general format for example:2006032211272800 which
is in yyyy-mm-dd-hh-mm(mins)-ss-00. That is year 22/03/2006 at
11:27:28. The time is 24 hour clock and minutes and seconds roll over
at 60 i.e. the time is read as a clock not decimal places. Note the
last two digits are always blank.

The field can easily be converted to a number and divided by 100 to
exclude the last 2 digits.

Is there an easy way in which this time stamp can be read by excel such
that it is easy to recognise the time elapsed between enteries?

Examples of sequential timestamps are as below:

Cell B1: 2006032211272800
Cell B2: 2006032211273100
Cell B3: 2006032211282100
Cell B4: 2006032211283800
Cell B5: 2006032211285000

Cheers

David

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Process a Time Stamp

=DATE(LEFT(A1,4),MID(A1,5,2),MID(A1,7,2))+TIME(MID (A1,9,2),MID(A1,11,2),MID(A1,13,2))

Format cell as: dd/mm/yyyy hh:mm:ss


" wrote:

Hi I am looking to convert a timestamp in a file such that it is read
as a time in excel.

Currently it comes in general format for example:2006032211272800 which
is in yyyy-mm-dd-hh-mm(mins)-ss-00. That is year 22/03/2006 at
11:27:28. The time is 24 hour clock and minutes and seconds roll over
at 60 i.e. the time is read as a clock not decimal places. Note the
last two digits are always blank.

The field can easily be converted to a number and divided by 100 to
exclude the last 2 digits.

Is there an easy way in which this time stamp can be read by excel such
that it is easy to recognise the time elapsed between enteries?

Examples of sequential timestamps are as below:

Cell B1: 2006032211272800
Cell B2: 2006032211273100
Cell B3: 2006032211282100
Cell B4: 2006032211283800
Cell B5: 2006032211285000

Cheers

David


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
Date Time Stamp Dilemna [email protected] Excel Discussion (Misc queries) 9 November 1st 06 09:10 PM
Making a time stamp Rick New Users to Excel 3 October 21st 06 02:37 AM
How to display seconds on time stamp? uosam Excel Worksheet Functions 1 February 28th 06 09:05 PM
How do i automate a static time stamp? Gavin Taylor Excel Discussion (Misc queries) 1 December 31st 05 02:08 PM
can you date time stamp entries in excel opinky Excel Discussion (Misc queries) 1 March 17th 05 04:25 PM


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