Solved

How to calculate duration based on Day Date Time Stamp

Posted on 2011-09-29
4
291 Views
Last Modified: 2012-05-12
I'm trying to come up with an elegant method to calculate the duration (in hours) of a process that executes at 4:15 AM every day.
The log produces a time stamp of when the process finishes
Trying to determine total duration for each run.
 
The attached Excel Workbook has the example data I'm working with.

Simplest solution wins the day and the points.

Thanks!
Brian DayDateEndTimeStampCalc.xls
0
Comment
Question by:BrianEsser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 36816981
Hello Brian try this formula in B2 copied down

=MID(A2,12,8)-"4:15"

format as h:mm

regards, barry
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 36816993
See attached

barry
27362117.xls
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 36817008
....or you might want to see the seconds - if so just change format to h:mm:ss

barr
0
 

Author Closing Comment

by:BrianEsser
ID: 36817207
Doesn't get any more elegant than that - Thanks!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question