Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I automatically print subtotal on last row of every page?

I have to print a report, containing a few hundred rows of numerical data. I
want Excel to automatically print subtotals of each column at the bottom of
each printed page. I can do it manually, by counting the number of rows that
would fit on a page, and adding the subtotals at the correct position. But,
as soon as you add or delete rows in your ranges, you have to change all your
subtotals again.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How can I automatically print subtotal on last row of every page?

Excel doesn't have this kind of feature.

Maybe you can add your own page breaks and be a little more conservative on the
number of rows per page. If 60 fit, then use 50 per page. Then you could
insert 10 in each page before causing too much trouble.

Another option is to add a column and put a page indicator down that column.
I'd use column A and either hide it or leave it out of the print range.

Then I could use Data|subtotal on that column to get totals and page breaks
where I wanted.

If I had to add more rows to any page, I could remove the subtotals and then put
new values in column A and reapply data|subtotals.

You may want to experiment with something like:
=int(row()/60)
drag down the column
convert to values
data|subtotal

to see if it gives you what you want (60 was my guess. it may not work with
your print setup.)

Stiv wrote:

I have to print a report, containing a few hundred rows of numerical data. I
want Excel to automatically print subtotals of each column at the bottom of
each printed page. I can do it manually, by counting the number of rows that
would fit on a page, and adding the subtotals at the correct position. But,
as soon as you add or delete rows in your ranges, you have to change all your
subtotals again.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,549
Default How can I automatically print subtotal on last row of every page?

My Excel add-in "Special Print" will do that.
Give the trial version a tryout (its free) by just asking for it.
I will forward it as a zipped email attachment.
Remove xxx from my email address... james.coneXXX at comcast.netXXX
Please provide your real name and geographic location.
--
Jim Cone
Portland, Oregon USA



"Stiv"
wrote in message
I have to print a report, containing a few hundred rows of numerical data. I
want Excel to automatically print subtotals of each column at the bottom of
each printed page. I can do it manually, by counting the number of rows that
would fit on a page, and adding the subtotals at the correct position. But,
as soon as you add or delete rows in your ranges, you have to change all your
subtotals again.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default How can I automatically print subtotal on last row of every page?

If you want a macro I can esily write one. How many Rows per page do you
want before addig the subtotals?

"Stiv" wrote:

I have to print a report, containing a few hundred rows of numerical data. I
want Excel to automatically print subtotals of each column at the bottom of
each printed page. I can do it manually, by counting the number of rows that
would fit on a page, and adding the subtotals at the correct position. But,
as soon as you add or delete rows in your ranges, you have to change all your
subtotals again.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the print area in page set up to print 1 page wide by 2 pages tall EA[_2_] Excel Discussion (Misc queries) 2 July 12th 07 08:39 PM
automatically roll the page number after you print Perplexed! Excel Worksheet Functions 3 March 7th 07 08:43 PM
Create a print macro that would automatically select print area? wastedwings Excel Worksheet Functions 7 August 22nd 05 10:36 PM
subtotal by page Will Fleenor Excel Worksheet Functions 0 April 21st 05 08:08 PM
Automatically print all page contents in pivot table. David P Excel Worksheet Functions 0 February 21st 05 05:57 PM


All times are GMT +1. The time now is 07:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"