View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
kassie kassie is offline
external usenet poster
 
Posts: 80
Default adding from one year to the next

Have both w/sheets open. Where you want to insert the formula, enter
=A2, or whatever your cell number with the January 1, 2007 reading is
type in
- (minus)
Now click on the 2006 worksheet to make it active, go to the cell with Dec
2006's reading, click on it, and press <Enter
That will take you back to the 2007 sheet, where you will see the correct
context for entering such formulae

--
Hth

Kassie Kasselman


"p-nut" wrote:

Hello,

I have a program that takes a daily reading and subtracts the previous days
number to get an daily total. Anyway, I can figure out how to do the numbers
from January 1 thru December 31 within the same worksheet, but my question is
how do I take the January 1st reading from 2007 and subtract December 31st
from 2006? I would like to make 2007 on a seperate worksheet. How can I do
that?


Month January Year 2006

x100 x100
Reading Total GPD


39858 1525
41597 1739
42999 1402
44403 1404
45796 1393
47114 1318
48670 1556
50317 1647
51834 1517
53366 1532
54972 1606
56481 1509
57614 1133
59392 1778
60923 1531
62480 1557
63998 1518
65536 1538
67035 1499
68521 1486
69983 1462
71641 1658
73130 1489
74680 1550
76096 1416
77573 1477
78958 1385
80344 1386
81844 1500
83056 1212
84845 1789



Month February Year 2006

x100 x100
Reading Total GPD


86042 1197
87400 1358
88806 1406
90213 1407
91710 1497
93208 1498
94618 1410
96099 1481
97569 1470
98707 1138
100149 1442
101716 1567
103121 1405
104628 1507
106114 1486
107409 1295
108680 1271
110063 1383
111506 1443
113128 1622
114567 1439
116013 1446
117450 1437
118798 1348
120188 1390
121635 1447
123111 1476
124339 1228






Month March Year 2006

x100 x100
Reading Total GPD


125698 1359
127034 1336
128367 1333
129657 1290
131056 1399
132439 1383
133619 1180
134765 1146
136072 1307
137345 1273
138652 1307
139979 1327
141348 1369
142666 1318
144017 1351
145316 1299
146631 1315
148035 1404
149415 1380
150895 1480
152286 1391
153707 1421
155709 2002
156632 923
158062 1430
159462 1400
161011 1549
162216 1205
163456 1240
164893 1437
166218 1325



Month April Year 2006

x100 x100
Reading Total GPD


167540 1322
168963 1423
170308 1345
171542 1234
172841 1299
174297 1456
175672 1375
177111 1439
178587 1476
179807 1220
181186 1379
182466 1280
183708 1242
184958 1250
560 1244
1808 1248
3039 1231
4100 1061
5317 1217
6589 1272
7729 1140
8975 1246
10333 1358
11661 1328
12966 1305
945 1300
2244 1299
3560 1316
4927 1367
6330 1403




Month May Year 2006

x100 x100
Reading Total GPD


7670 1340
9298 1628
10614 1316
11965 1351
13326 1361
14546 1220
15937 1391
17293 1356
18655 1362
20009 1354
21297 1288
22528 1231
23861 1333
25212 1351
26574 1362
27918 1344
29226 1308
30639 1413
32034 1395
33540 1506
35053 1513
36565 1512
993 1485
2417 1424
3891 1474
5390 1499
6820 1430
8275 1455
9870 1595
11414 1544
13053 1639



Month June Year 2006

x100 x100
Reading Total GPD


14482 1429
15872 1390
17189 1317
18524 1335
19986 1462
21442 1456
22864 1422
24296 1432
25593 1297
26960 1367
28460 1500
30128 1668
31491 1363
32766 1275
34274 1508
35868 1594
37301 1433
38602 1301
40086 1484
41504 1418
42879 1375
44309 1430
45473 1164
47012 1539
48430 1418
49933 1503
51333 1400
52688 1355
54061 1373
55444 1383




Month July Year 2006

x100 x100
Reading Total GPD


56898 1454
58330 1432
59757 1427
61145 1388
62577 1432
63808 1231
65239 1431
66732 1493
68158 1426
69730 1572
71302 1572
72921 1619
74480 1559
2314 1506
3804 1490
5329 1525
6900 1571
8584 1684
10106 1522
11553 1447
13226 1673
14791 1565
16360 1569
17940 1580
19398 1458
20900 1502
22492 1592
24139 1647
1451 1547
3040 1589
4672 1632



Month August Year 2006

x100 x100
Reading Total GPD


6267 1595
7921 1654
9454 1533
10951 1497