+ Reply to Thread
Results 1 to 6 of 6

Sum all rows above

  1. #1
    Robert
    Guest

    Sum all rows above

    I want to put into a cell the total of all numbers above that cell in that
    column. I want to do this without specifying specific rows. In this way,
    if a row were added above the total, it would be included in the total
    correctly.

    Robert



  2. #2
    Ardus Petus
    Guest

    Re: Sum all rows above

    Hi Robert,

    Try:
    =SUM(OFFSET(A1,,,ROW()-1,1))

    HTH
    --
    AP

    "Robert" <[email protected]> a écrit dans le message de news:
    [email protected]...
    >I want to put into a cell the total of all numbers above that cell in that
    >column. I want to do this without specifying specific rows. In this way,
    >if a row were added above the total, it would be included in the total
    >correctly.
    >
    > Robert
    >




  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475
    =sum(indirect("r1c"&column()&":r"& (row()-1)&"c"&column(),false))

  4. #4
    Ragdyer
    Guest

    Re: Sum all rows above

    Try this:

    =SUM(INDIRECT("A1:A" & ROW()-1))

    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "Robert" <[email protected]> wrote in message
    news:[email protected]...
    > I want to put into a cell the total of all numbers above that cell in that
    > column. I want to do this without specifying specific rows. In this way,
    > if a row were added above the total, it would be included in the total
    > correctly.
    >
    > Robert
    >
    >



  5. #5
    Dave Peterson
    Guest

    Re: Sum all rows above

    One more.

    If your formula is in A101:
    =sum(a1:offset(a101,-1,0))

    Robert wrote:
    >
    > I want to put into a cell the total of all numbers above that cell in that
    > column. I want to do this without specifying specific rows. In this way,
    > if a row were added above the total, it would be included in the total
    > correctly.
    >
    > Robert


    --

    Dave Peterson

  6. #6
    Robert
    Guest

    Thanks to all who posted


    "Robert" <[email protected]> wrote in message
    news:[email protected]...
    >I want to put into a cell the total of all numbers above that cell in that
    >column. I want to do this without specifying specific rows. In this way,
    >if a row were added above the total, it would be included in the total
    >correctly.
    >
    > Robert
    >




+ 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