Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default 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
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
Display hours, minutes, seconds on a time-scale axis in Excel 2003 Saritha Charts and Charting in Excel 3 April 1st 08 11:16 PM
How do I enter accumulated time as hours, minutes and seconds? Raz Excel Worksheet Functions 1 February 21st 08 02:30 AM
Formula to Change Hours:Minutes:Seconds to Seconds only Cheri Excel Discussion (Misc queries) 4 August 30th 06 12:44 AM
How to convert an elapsed time in minutes to Days hours and minute Time Tracker Excel Discussion (Misc queries) 1 April 9th 06 03:40 AM
Convert "Time Interval" in "hours : minutes : seconds" to seconds Ianukotnorth New Users to Excel 7 May 8th 05 08:11 PM


All times are GMT +1. The time now is 02:51 AM.

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"