M
Marathon Man
Hi there!
I have 3 cells - C2, D2 & E2.
C2 contains the formula =SUM(C1528:C1534).
D2 contains the formula =SUM(D15281534).
E2 contains the formul
=IF(ISERROR(AVERAGE(E1528:E1534)),"PACE!",AVERAGE(E1528:E1534))
C2 shows the total number of miles I have run from Monday of th
current week to Sunday inclusive.
D2 shows the total hours I have run over the same period of time.
E2 shows the average pace I've run at, again over the same period o
time. (I added the ISERROR function for neatness as I had to kee
amending the column width when I get the DIV0 error).
C3, D3 & E3 do a similar thing to C2, D2 & E2 but these figures relat
to LAST week from Mon to Sun.
I was wondering if there was a way of coding these 6 cells so I don'
have to keep manually updating them every week?
The column details are as follows:
COLUMN A (Date of Run) COLUMN B (Route) COLUMN C (Distance) COLUMN
(Time) COLUMN E (Pace)
(A=Sat, 07 Aug 2004) (B=Text) (C=4.0) (D=0:31:10) (E=7:48)
The info above relates to the latest row, 1533, but I add a row eac
time I've been running, so tomorrow (Sunday) it'll be 1534 and so o
for each run thereafter (but I may not be mad enough to go for a ru
every day).
As I said, I'm looking to see if it's possible for C2, D2 & E2 and C3
D3 & E3 to be coded so they'll auto-update when the latest 7 day
become the previous week's 7 days. At the moment, every Monday I hav
to manually update the formula to change the contents of row C2, D2
E2 to apply to C3, D3 and E3, and in turn update C2, D2 & E2 to reflec
the current week.
I need the cells in row 2 to reflect the totals of the rows from th
current week from Monday to Sunday, so it must not sum more than
rows, but also if I were to miss say 1 or 2 day's training, it would b
less.
I need the cells in row 3 to reflect the totals of the rows from th
previous week from Monday to Sunday, so it again must not sum more tha
7 rows, but also if I were to miss say 1 or 2 day's training, it woul
be less.
I hope this is possible to do either with a formula or VB - maybe b
making use of the dates in Column A?
TIA
I have 3 cells - C2, D2 & E2.
C2 contains the formula =SUM(C1528:C1534).
D2 contains the formula =SUM(D15281534).
E2 contains the formul
=IF(ISERROR(AVERAGE(E1528:E1534)),"PACE!",AVERAGE(E1528:E1534))
C2 shows the total number of miles I have run from Monday of th
current week to Sunday inclusive.
D2 shows the total hours I have run over the same period of time.
E2 shows the average pace I've run at, again over the same period o
time. (I added the ISERROR function for neatness as I had to kee
amending the column width when I get the DIV0 error).
C3, D3 & E3 do a similar thing to C2, D2 & E2 but these figures relat
to LAST week from Mon to Sun.
I was wondering if there was a way of coding these 6 cells so I don'
have to keep manually updating them every week?
The column details are as follows:
COLUMN A (Date of Run) COLUMN B (Route) COLUMN C (Distance) COLUMN
(Time) COLUMN E (Pace)
(A=Sat, 07 Aug 2004) (B=Text) (C=4.0) (D=0:31:10) (E=7:48)
The info above relates to the latest row, 1533, but I add a row eac
time I've been running, so tomorrow (Sunday) it'll be 1534 and so o
for each run thereafter (but I may not be mad enough to go for a ru
every day).
As I said, I'm looking to see if it's possible for C2, D2 & E2 and C3
D3 & E3 to be coded so they'll auto-update when the latest 7 day
become the previous week's 7 days. At the moment, every Monday I hav
to manually update the formula to change the contents of row C2, D2
E2 to apply to C3, D3 and E3, and in turn update C2, D2 & E2 to reflec
the current week.
I need the cells in row 2 to reflect the totals of the rows from th
current week from Monday to Sunday, so it must not sum more than
rows, but also if I were to miss say 1 or 2 day's training, it would b
less.
I need the cells in row 3 to reflect the totals of the rows from th
previous week from Monday to Sunday, so it again must not sum more tha
7 rows, but also if I were to miss say 1 or 2 day's training, it woul
be less.
I hope this is possible to do either with a formula or VB - maybe b
making use of the dates in Column A?
TIA