ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Calculating Time (https://www.excelbanter.com/excel-programming/423960-calculating-time.html)

Scott R[_2_]

Calculating Time
 
I need to determine elapsed time between a start time and the time of the
final event in a sequence. My start time is in column A but my end time may
be in one of 6 different column (depending on how many readings were taken
during the sequience). I know that if I use the formula mod (B1-A1,1)*1440 I
get the elapsed time between two readings. Is there a way to calculate the
elapsed time with a macro that selects correct column? I have a macro to
select the column I just need a calculation for the elapsed time.

Eduardo

Calculating Time
 
Hi Scott,
Check Chip web you will find everything related to time calculations

http://www.cpearson.com/excel/datetime.htm

"Scott R" wrote:

I need to determine elapsed time between a start time and the time of the
final event in a sequence. My start time is in column A but my end time may
be in one of 6 different column (depending on how many readings were taken
during the sequience). I know that if I use the formula mod (B1-A1,1)*1440 I
get the elapsed time between two readings. Is there a way to calculate the
elapsed time with a macro that selects correct column? I have a macro to
select the column I just need a calculation for the elapsed time.


Scott R[_2_]

Calculating Time
 
Thanks

That did the trick.

Scott

"Eduardo" wrote:

Hi Scott,
Check Chip web you will find everything related to time calculations

http://www.cpearson.com/excel/datetime.htm

"Scott R" wrote:

I need to determine elapsed time between a start time and the time of the
final event in a sequence. My start time is in column A but my end time may
be in one of 6 different column (depending on how many readings were taken
during the sequience). I know that if I use the formula mod (B1-A1,1)*1440 I
get the elapsed time between two readings. Is there a way to calculate the
elapsed time with a macro that selects correct column? I have a macro to
select the column I just need a calculation for the elapsed time.



All times are GMT +1. The time now is 07:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com