-----Original Message-----
When you say "That's not working either", what exactly do you mean?
The arithmatic *is* correct with the formulas I suggested!
Can you tell me what you got, as opposed to what you expected to get?
--
Regards,
RD
--------------------------------------------------------- -----------
Please keep all correspondence within the Group, so all may benefit!
--------------------------------------------------------- ----------
That's not working either, I can get it to work by using
this formula =SUM('2003'!B13:B376)+('2004'!B12) in column
C12 which is Jan 1st of 2004 in C2 =SUM('2003'!B14:B376)+
('2004'!B12)+('2004'!B13) the problem is that I have to
type this formula and change it for every day for each
day for the 4 years. If I copy down for the whole year, I
get this
In C13 =SUM('2003'!B14:B377)+('2004'!B13)
In C14 =SUM('2003'!B15:B378)+('2004'!B14)
In C15 =SUM('2003'!B16:B379)+('2004'!B15)
And so on. This would work if all 4 years were on one
worksheet, but there is no info on B377, B378, and B379
ECT ECT. December 31 2003 ends on row B366 and I cannot
figure out how to tell the formula that it ends and to
now go to worksheet 2004 for the rest of the numbers.
-----Original Message-----
With this better explanation of what you're looking for, this is one
approach you could try.
Add an additional column to your scenario.
Say your sheets are labeled respectively,
2003,
2004,
2005,
and 2006.
Assume A1 is 1/1/03, and A365 is 12/31/03.
Enter this formula in C1 of 2003:
=IF(B1<>0,SUM($B$1:B1),"")
And copy down to C365.
This gives you a running total of 2003.
Since there's no 2002, this is all you need to see day to day of 2003.
In 2004, enter the same formula in C1:
=IF(B1<>0,SUM($B$1:B1),"")
And enter this formula in D1:
=IF(C1<>"",'2003'!$C$365+C1-'2003'!C1,"")
Select both C1 and D1, and drag down to copy to row 366 (leap year this
year).
Now, every time you make an entry to column B, column C will display the
year-to-date running total, and column D will display the last 365 day
running total.
Just change your references, and duplicate these formulas for the other two
sheets.
--
HTH,
RD
--------------------------------------------------------
- - -
-
.