Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Elapsed Time in Hours, Minutes and Seconds
Hello all,
I have two groups of data that consist of date (MM/DD/YYYY), time (HH:MM:SS), and serial number. The first group is represents the date and time that the serial number started production and the second group represents when the serial number exited production. This data is constantly recording, so it is a certainty that some data will enter production on one date and finish on another. I need to come up with a macro that will compare the two tables and show all of the serial numbers that are common between the two tables and the elapsed time between start of production and end of production. Any serial numbers that aren't common should be ignored. I have been playing around with vlookups, and I can get the elapsed time, as long as both entries are on the same date. I can't figure out how to get the date part to work, and I am sure that someone here will have a better way of accomplishing this task. Thanks in advance! Tim |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Elapsed Time in Hours, Minutes and Seconds
You can give this a look...
http://www.cpearson.com/excel/datedif.htm -- HTH... Jim Thomlinson " wrote: Hello all, I have two groups of data that consist of date (MM/DD/YYYY), time (HH:MM:SS), and serial number. The first group is represents the date and time that the serial number started production and the second group represents when the serial number exited production. This data is constantly recording, so it is a certainty that some data will enter production on one date and finish on another. I need to come up with a macro that will compare the two tables and show all of the serial numbers that are common between the two tables and the elapsed time between start of production and end of production. Any serial numbers that aren't common should be ignored. I have been playing around with vlookups, and I can get the elapsed time, as long as both entries are on the same date. I can't figure out how to get the date part to work, and I am sure that someone here will have a better way of accomplishing this task. Thanks in advance! Tim |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Display hours, minutes, seconds on a time-scale axis in Excel 2003 | Charts and Charting in Excel | |||
How do I enter accumulated time as hours, minutes and seconds? | Excel Worksheet Functions | |||
Formula to Change Hours:Minutes:Seconds to Seconds only | Excel Discussion (Misc queries) | |||
How to convert an elapsed time in minutes to Days hours and minute | Excel Discussion (Misc queries) | |||
Convert "Time Interval" in "hours : minutes : seconds" to seconds | New Users to Excel |