#1   Report Post  
Posted to microsoft.public.excel.misc
FD FD is offline
external usenet poster
 
Posts: 2
Default autofill timestamp

I have a table with over 4000 records collected with a gps every second, but
the timestamp it gives does not make sense (eg.78419863). I am looking for
some help to calculate the values of a field so that it takes the first
record of the field and adds 1 second to each record after the first time. Is
it possible to have the timestamp read hh:mm:ss
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default autofill timestamp

FD,

It is - possibly - the number of seconds since midnight of January 1, 2006.

Try using the formula

=DATEVALUE("1/1/2006")+A2/86400

where your timestamp is in cell A2 - format the cell for date and time (or use custom, mmm dd, yyyy
hh:mm:ss) - and see if the timestamps make sense.

If you just want the time part, and not the date, then use

=MOD(A2,86400)/86400

formatted just for time.

The date will be June 26, 2008, and in each case, the time will be 15:17:43.

HTH,
Bernie
MS Excel MVP


"FD" wrote in message
...
I have a table with over 4000 records collected with a gps every second, but
the timestamp it gives does not make sense (eg.78419863). I am looking for
some help to calculate the values of a field so that it takes the first
record of the field and adds 1 second to each record after the first time. Is
it possible to have the timestamp read hh:mm:ss



  #3   Report Post  
Posted to microsoft.public.excel.misc
FD FD is offline
external usenet poster
 
Posts: 2
Default autofill timestamp

Thanks Bernie. That is exactly what I was looking for.

Cheers,

FD

"Bernie Deitrick" wrote:

FD,

It is - possibly - the number of seconds since midnight of January 1, 2006.

Try using the formula

=DATEVALUE("1/1/2006")+A2/86400

where your timestamp is in cell A2 - format the cell for date and time (or use custom, mmm dd, yyyy
hh:mm:ss) - and see if the timestamps make sense.

If you just want the time part, and not the date, then use

=MOD(A2,86400)/86400

formatted just for time.

The date will be June 26, 2008, and in each case, the time will be 15:17:43.

HTH,
Bernie
MS Excel MVP


"FD" wrote in message
...
I have a table with over 4000 records collected with a gps every second, but
the timestamp it gives does not make sense (eg.78419863). I am looking for
some help to calculate the values of a field so that it takes the first
record of the field and adds 1 second to each record after the first time. Is
it possible to have the timestamp read hh:mm:ss




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default autofill timestamp

Hey! A lucky guess - I'm gonna have to go out and play the lottery tonight ;-)

Bernie
MS Excel MVP


Thanks Bernie. That is exactly what I was looking for.



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
Timestamp juanpablo Excel Discussion (Misc queries) 3 November 2nd 07 01:55 PM
Timestamp ? elroyerni Excel Discussion (Misc queries) 2 June 1st 07 12:07 AM
Timestamp PS Excel Discussion (Misc queries) 2 January 10th 07 02:21 PM
Now as timestamp Lp12 Excel Worksheet Functions 5 August 13th 06 11:32 AM
Autofill: Need to autofill one week block, (5) weekday only into cells. dstock Excel Discussion (Misc queries) 1 June 17th 05 08:21 PM


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