create footer, sum of column values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

dear sir ,
i want to create the sum of column(cells values ) like sum( "a3:a end ") at
the end of the sheet like footer and to have an perfect print out as detail
as detail and totals as report footer
 
I don't think this could be done without VBA code, and there would be
restrictions even then. You would need the VBA code to create the text of
the footer in the _BeforePrint() event. Since any physical sheet can only
have one footer, if your sheet extended over multiple printed pages, the
footer would only be correct on one of those pages.

You're probably best off by simply adding rows where needed, whether for
each possible printed page or at the end of all printed pages for a sheet, to
provide the summary. Since you said you wanted a formula like SUM(A3:Ax), I
presume you only need one row at the end to provide your summary.

You might consider attacking the problem from the other end - that is,
putting your total at the TOP of first sheet (insert a new row 3?) with a
formula that included a range large enough to hold all entries in a column
for a long time, like
=SUM(A4:A10000)
??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top