![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 4
|
Hello.
I am working to calculate the elapsed time, in hh:mm:ss between two date/time fields, including days. Such as 4/24/2002 3:58:15 PM and 4/25/2002 8:37:51 PM. I can use TEXT(F14-E14,"h:mm:ss"), but it does not handle the 28 hours. Any suggestions? |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
Take the differnce between two cells ... =A1-B1 and custom format as [h]:mm:ss Hope This Helps!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Greenwood, SC
Posts: 677
|
Another possiblity if you only need a text date/time or don't want to change formatting on your cells is:
=INT((E8-E7)*24)&":"&TEXT(E8-E7,"mm:ss") K |
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 4
|
Thanks! This works well..
Now, a follow up.. I want to take the result, and calculate a throughput. Ex. 1.59MB took 1:02 to transfer. Simple division, except the Text value does not work? I took (1.59/62)*60 to calc MB/min. I need to reference the previous cell instead of 62. Do I need to convert to seconds (and how) then divide, and then what format do I use? |
|
|
|
|
|
#5 |
|
New Member
Join Date: Nov 2005
Posts: 1
|
Hi there, i just recently started using excel for some intense data collection. Now i need to extract some datas for certain time period. My date and time format is [as dd/time/h] e.g 231400H. I have tried the Text format. it doesnt show the result. Any idea how to get it.?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|