On 2002-10-24 04:14, BASSET wrote:
Range for account numbers: Cell A34 - A500
Range for balances: Cell L34 - L500
Name of worksheet - DETAILED IS FS
Select $A$34:$A$500 in DETAILED IS FS, go to the Name Box on the Formula Bar, type ACCOUNTS, and hit enter.
Select $L$34:$L$500 in DETAILED IS FS, go to the Name Box on the Formula Bar, type BALANCES, and hit enter.
In the destination worksheet do the following:
In A1 enter: The lower limit acc number of the
first grouping.
In A2 enter: The lower limit acc number of the
second grouping.
In A3 enter: The lower limit acc number of the
third grouping.
etc. As you see, this replaces the method you had in mind...
In B2 in the destination worksheet enter:
=SUMIF(ACCOUNTS,">="&A1,BALANCES)-SUMIF(ACCOUNTS,">="&A2,BALANCES)
Copy down this formula as far as needed.