Solved

How to calculate duration based on Day Date Time Stamp

Posted on 2011-09-29
4
256 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
  • 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now