+ Reply to Thread
Results 1 to 4 of 4

Add specified amount of numbers in a list

  1. #1
    Registered User
    Join Date
    06-14-2004
    Posts
    8

    Add specified amount of numbers in a list

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

    Any ideas ?

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    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


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

    Any ideas ?

  3. #3
    Bob Phillips
    Guest

    Re: Add specified amount of numbers in a list

    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
    news:[email protected]...
    >
    > 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
    >
    >
    > judoist Wrote:
    > > I have a long list of numbers in column A. I'd like to be able to add
    > > these numbers, 20 at a time... i.e. numbers 1 -20, 21 -40, 41- 60,
    > > etc.
    > >
    > > Any ideas ?

    >
    >
    > --
    > Bryan Hessey
    > ------------------------------------------------------------------------
    > Bryan Hessey's Profile:

    http://www.excelforum.com/member.php...o&userid=21059
    > View this thread: http://www.excelforum.com/showthread...hreadid=488098
    >




  4. #4
    Registered User
    Join Date
    06-14-2004
    Posts
    8
    Thanks guys...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1