XL: 2003
OS: XP
I have a table several 1000 rows in length, headed thus:
Office No Date Amount Source B385# (1,4,5)
1 01/20/05 76,752.98 1
1 01/20/05 (34,291.57) 4
1 01/20/05 (6,304.15) 5
I have a criteria table that looks thus:
Office No Date Date Source B385# (1,4,5)
1 >=1/1/05 <=1/31/05 1
2 >=1/1/05 <=1/31/05 1
3 >=1/1/05 <=1/31/05 1
I want to use only one header in my criteria table and instead have the last or next record reference the previous one and "subtract" one record to keep track of which record to manipulate. I have tried this formula (and variations therof):
=DSUM('Ledger'!$A:$E,"Source B385# (1,4,5)",'DSUM'!A1:D3)-DSUM('Ledger'!$A:$E,"Source B385# (1,4,5)",'DSUM'!A1:D2)
...and it yielded the wrong answer. I want to forego this:
Office No Date Date Source B385# (1,4,5)
1 >=1/1/05 <=1/31/05 1
Office No Date Date Source B385# (1,4,5)
2 >=1/1/05 <=1/31/05 1
Office No Date Date Source B385# (1,4,5)
3 >=1/1/05 <=1/31/05 1
Would apprieciate some hint at a better, working solution. Thanks much.
OS: XP
I have a table several 1000 rows in length, headed thus:
Office No Date Amount Source B385# (1,4,5)
1 01/20/05 76,752.98 1
1 01/20/05 (34,291.57) 4
1 01/20/05 (6,304.15) 5
I have a criteria table that looks thus:
Office No Date Date Source B385# (1,4,5)
1 >=1/1/05 <=1/31/05 1
2 >=1/1/05 <=1/31/05 1
3 >=1/1/05 <=1/31/05 1
I want to use only one header in my criteria table and instead have the last or next record reference the previous one and "subtract" one record to keep track of which record to manipulate. I have tried this formula (and variations therof):
=DSUM('Ledger'!$A:$E,"Source B385# (1,4,5)",'DSUM'!A1:D3)-DSUM('Ledger'!$A:$E,"Source B385# (1,4,5)",'DSUM'!A1:D2)
...and it yielded the wrong answer. I want to forego this:
Office No Date Date Source B385# (1,4,5)
1 >=1/1/05 <=1/31/05 1
Office No Date Date Source B385# (1,4,5)
2 >=1/1/05 <=1/31/05 1
Office No Date Date Source B385# (1,4,5)
3 >=1/1/05 <=1/31/05 1
Would apprieciate some hint at a better, working solution. Thanks much.