#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Averaging Time

Ive been asked to figure out how early an employee typically punches in for
work. They want to give her some sort of bonus. I have the punchclock data
in an excel column in the following format:

5/14/07 10:02 AM
5/15/07 9:16 AM
5/17/07 9:28 AM
5/18/07 9:16 AM
5/22/07 9:15 AM

Shes supposed to start work at 10:00am every day, and I need to figure out
what time she usually checks in. Ive tried a typical averaging formula, but
that gives me the mean time between all of the days, which is around noon on
the 17th.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default Averaging Time

Consider how a timestamp is stored in Excel: It's a floating-point number
with the integer part indicating the number of days since, um, I think it's
since 1900-01-01, and the fractional part indicating the portion of the day,
starting at midnight. That is, the current time on my machine as I write
this is 39682.81327, which is displayed as 2008-08-22 19:31; back at exactly
noon the timestamp would've said 39682.5 and at 8:00 pm (two thirds of the
way between noon and midnight, five sixths of the day gone) it'll be
39682.83333.

What you want, then, is to average the fractional parts of each date. Can
you take it from there?

--- "BostonBoy" wrote:
Ive been asked to figure out how early an employee typically punches in for
work. They want to give her some sort of bonus. I have the punchclock data
in an excel column in the following format:

5/14/07 10:02 AM
5/15/07 9:16 AM
5/17/07 9:28 AM
5/18/07 9:16 AM
5/22/07 9:15 AM

Shes supposed to start work at 10:00am every day, and I need to figure out
what time she usually checks in. Ive tried a typical averaging formula, but
that gives me the mean time between all of the days, which is around noon on
the 17th.

Any ideas?

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
Averaging Time BostonBoy Excel Worksheet Functions 14 August 26th 08 12:07 AM
Averaging Time BostonBoy Excel Worksheet Functions 1 August 22nd 08 08:22 PM
Averaging Time Keit Excel Discussion (Misc queries) 1 June 12th 07 01:01 AM
Averaging Time PeterM Excel Discussion (Misc queries) 4 January 29th 07 02:16 PM
Averaging time katgolightly Excel Worksheet Functions 5 December 28th 04 10:02 PM


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