Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macros - Adding & Subtracting Time

I'm a runner to keep in shape, and I'm trying to keep record of my
splits for improvement when I run. I'm looking for a way to show the
difference of each lap split, and then show the total run time of any
given workout.

For instance if I have a split of: 02:16.76 (min:sec.tenths) &
04:26.28, & 6:36.20, I want to know the difference of 1 & 2, 2 & 3,
etc. & I want to know the sum of the series together.

This would need to work for a series of 8-12 splits for any given
group.

Does anyone have any ideas on how to set this up?


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Macros - Adding & Subtracting Time

Firesurfer262,

Here's how:
Format column A and B as mm:ss.00
In A1 enter the word: Times
Enter your times in Column A (ie. A2, A3, A4....)
In B3 enter this formula:
=ABS(A3-A2)
Copy B3 down for as many rows are you want.

Highlight Column A
From the Data menu, select SubTotals


If you want to know the positive or negative differences between times, then
replace =ABS(A3-A2) with =A3-A2

Rob



"firesurfer262 " wrote in
message ...
I'm a runner to keep in shape, and I'm trying to keep record of my
splits for improvement when I run. I'm looking for a way to show the
difference of each lap split, and then show the total run time of any
given workout.

For instance if I have a split of: 02:16.76 (min:sec.tenths) &
04:26.28, & 6:36.20, I want to know the difference of 1 & 2, 2 & 3,
etc. & I want to know the sum of the series together.

This would need to work for a series of 8-12 splits for any given
group.

Does anyone have any ideas on how to set this up?


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Macros - Adding & Subtracting Time

Firesurfer

I'm afraid that you asking too much from Excel AFIK it
can't deal with fractions of second. Here's some specimin
data.

1st Group
mm:ss Cumul difference
02:30 02:30 0
02:25 04:55 00:05
02:20 07:15 00:05
02:35 09:50 00:15

Time entered as 0:2:30 for 2min 30 secs
Cumulative is just =a4+B3 and copied down.
Formula for the Difference 2nd line is
=IF(A4=A3,A4-A3,(A3-A4)) and copied down.

Don't know if this will do - I don't know if macros will
help much unless you want a customised function. Let me
know if you do and I'll give it a whirl.

Regards
Peter



-----Original Message-----
I'm a runner to keep in shape, and I'm trying to keep

record of my
splits for improvement when I run. I'm looking for a way

to show the
difference of each lap split, and then show the total run

time of any
given workout.

For instance if I have a split of: 02:16.76

(min:sec.tenths) &
04:26.28, & 6:36.20, I want to know the difference of 1

& 2, 2 & 3,
etc. & I want to know the sum of the series together.

This would need to work for a series of 8-12 splits for

any given
group.

Does anyone have any ideas on how to set this

up?


---
Message posted from http://www.ExcelForum.com/

.

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
Adding and Subtracting a Time with MilliSeconds carl Excel Worksheet Functions 8 April 5th 23 02:41 PM
adding/subtracting # of hours from a time HRobertson Excel Discussion (Misc queries) 5 July 12th 07 04:06 PM
Adding and subtracting time Terry Bennett Excel Worksheet Functions 2 February 13th 07 12:24 PM
Adding/Subtracting Time Help... killertofu Excel Worksheet Functions 3 February 15th 06 08:49 PM
adding/subtracting time [email protected] Excel Worksheet Functions 5 January 11th 06 02:43 PM


All times are GMT +1. The time now is 04:19 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"