Originally Posted by
daddylonglegs
OK, I misunderstood, assumed you had ranges in the data not as criteria. If you use your original approach you can use this formula in C14 copied down
=SUMIF('Trial Balance'!A:A,">="&A14,'Trial Balance'!B:B)-SUMIF('Trial Balance'!A:A,">"&B14,'Trial Balance'!B:B)
or in Excel 2007 you can use SUMIFS like this for the same result
=SUMIFS('Trial Balance'!B:B,'Trial Balance'!A:A,">="&A14,'Trial Balance'!A:A,"<="&B14)
Note: those formulas both make the range "inclusive", i.e. with a range 1600-2000 both 1600 and 2000 will be included
Bookmarks