#1   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
Default Time

I would like to click in a cell and have the hh:mm:ss populate that cell. I
am timing how long it takes for water to drop two inches. So I have a start
time, a middle time (1st inch) and an end time (2nd inch). Then I need to
calculate the elapsed time from the middle to the end and have that
difference dispalyed in a fourth cell.

Help? Please? Pretty Please?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Time

Tom

Start A1
Mid B1
End C1

Did you try C1-B1

Mike

"Tom" wrote:

I would like to click in a cell and have the hh:mm:ss populate that cell. I
am timing how long it takes for water to drop two inches. So I have a start
time, a middle time (1st inch) and an end time (2nd inch). Then I need to
calculate the elapsed time from the middle to the end and have that
difference dispalyed in a fourth cell.

Help? Please? Pretty Please?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Time

In the "start" cell type:

CTRL + SHIFT + ;

to insert the current time. Repeat for the mid and end cells.

Joe




"Tom" wrote:

I would like to click in a cell and have the hh:mm:ss populate that cell. I
am timing how long it takes for water to drop two inches. So I have a start
time, a middle time (1st inch) and an end time (2nd inch). Then I need to
calculate the elapsed time from the middle to the end and have that
difference dispalyed in a fourth cell.

Help? Please? Pretty Please?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Time

add a button on the excel sheet

use this macro function

Sub Button1_Click()
If Len(Cells(1, 1).Value) 0 Then
If Len(Cells(1, 2).Value) 0 Then
Cells(1, 3).Value = Now()
Cells(1, 5).Value = "=C1-B1"
Else
Cells(1, 2).Value = Now()
End If
Else
Cells(1, 1).Value = Now()
End If
End Sub

this is a crude example, please purify this as per you requirements.

note that in the cells function, first paramenter is the row number and the
second parameter is the column number.



--
Kind Regards,
Satti Charvak
Only an Excel Enthusiast
Noida, India


"Tom" wrote:

I would like to click in a cell and have the hh:mm:ss populate that cell. I
am timing how long it takes for water to drop two inches. So I have a start
time, a middle time (1st inch) and an end time (2nd inch). Then I need to
calculate the elapsed time from the middle to the end and have that
difference dispalyed in a fourth cell.

Help? Please? Pretty Please?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Time

Gravity says that the drop of water will fall 16 feet in the first
second. You will need resolution to thousanths of a second, so you
really need not bother with hh:mm:ss

Tom wrote:

I would like to click in a cell and have the hh:mm:ss populate that cell. I
am timing how long it takes for water to drop two inches. So I have a start
time, a middle time (1st inch) and an end time (2nd inch). Then I need to
calculate the elapsed time from the middle to the end and have that
difference dispalyed in a fourth cell.

Help? Please? Pretty Please?


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
straight time, time and a half, and double time Jeremy Excel Discussion (Misc queries) 3 September 23rd 08 09:03 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Subtracting Dates to get total time work time excluding weekends Jon Ratzel[_2_] Excel Discussion (Misc queries) 2 January 31st 08 10:36 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM


All times are GMT +1. The time now is 05:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"