+ Reply to Thread
Results 1 to 3 of 3

cumulative sub total, is it possible?

  1. #1
    Registered User
    Join Date
    01-20-2010
    Location
    bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    49

    cumulative sub total, is it possible?

    Hello
    I think its not possible. I tried myself but failed.

    I have an spreadsheet containing 120 rows. as 120 rows is not possible in one a4 paper. an a4 paper can provide only 10 rows according to my row height. so I want that

    there will be subtotal at the end of each page and the cumulative total will be at the first row. on detail

    1st page last row contain sum of 1-10 rows
    2nd page 1st row contain sum of 1-10 rows and last row contain sum of 1-20 rows
    3rd page 1st row contain sum of 1-20 rows and last row contain sum of 1-30 rows

    and so on
    If this is possible the plz give me the solution. I want there will be headrow which is repeated row on printing.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: cumulative sub total, is it possible?

    It's not very clear where your data is but if we assume values are in B1:B120 and you want totals in Column A then:

    A1: =IF(AND(ROWS(A$1:A1)>1,MOD(ROWS(A$1:A1),10)<2),SUM(B$1:B1)-IF(MOD(ROWS(A$1:A1),10),B1),"")
    copied to A120

    (modify ranges to suit but note use of $ etc...)

  3. #3
    Registered User
    Join Date
    01-20-2010
    Location
    bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    49

    Re: cumulative sub total, is it possible?

    actually I did it manually. example is attached. help to solve this. as row number vary from page to page.
    Attached Files Attached Files

+ 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