Add specified amount of numbers in a list

J

judoist

I have a long list of numbers in column A. I'd like to be able to ad
these numbers, 20 at a time... i.e. numbers 1 -20, 21 -40, 41- 60
etc.

Any ideas
 
B

Bryan Hessey

Hi,

Try

=SUM(INDIRECT("a"&(ROW()-1)*20+1&":A"&ROW()*20))

and formula-drag that down for 1/20th of the number of rows involved
 
B

Bob Phillips

Another option

=SUM(OFFSET($A$1,(ROW(A1)-1)*20,0,20,1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bryan Hessey" <[email protected]>
wrote in message
 
Top