![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: Vienna / Austria
Posts: 3
|
How can I print the sum of a column at the end of a printed page for just these lines, which have space on the printed page? And can I also print a total sum of all pages at the last page ? Thanks for help.
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Location: Sarasota, FL
Posts: 1,539
|
do you have some cell references?
You need to use Sum() and an array sum most likely, but more info would help... Corticus |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Location: Vienna / Austria
Posts: 3
|
Hi Corticus,
Let me explain: I have a list with about 500 values, but the exact number will differ all the time. I have to make printouts of this list and need the sum of the values on each page (only for the lines which are printed on this page). This sum should be printed on the bottom of the page and on the last page there should be printed also the total sum over all pages. i hope this makes it a little bit clearer. tex90 |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Apr 2002
Location: Sarasota, FL
Posts: 1,539
|
since Excel gives you predictable page breaks,
go to page break view see how many line are on a page, put a sum at the bottom(offset from the data row) of each page, and as data is entered, these sums will apply and be printed, for a grand total: =SUM(Sheet1:Sheet10!B1:B500) should do it, since your subtotals are offset, HTH -Corticus |
|
|
|
|
|
#5 |
|
New Member
Join Date: May 2002
Location: Vienna / Austria
Posts: 3
|
Hi Corticus
Thanks for help. It's not exact the way I wanted to do it (I wanted to have something "automatic"), but it helps at the moment. I will think about, if it's possible to do this with a macro. Best greetings from Vienna Tex |
|
|
|
|
|
#6 |
|
New Member
Join Date: Mar 2002
Posts: 7
|
This has been covered before.
Do a search for "printing sub totals on each page" (search for all items) and you will find the thread. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|