打印一个数据表时,很希望能自动分页小计,而且能在页最下面添加一行小计。本文详细演示excel表格自动生成分页小计的操作步骤。
如下图所示的数据表,需要完成分页小计功能。(每5行一页)

操作步骤:
步骤1 :在最前面插入一列,在2至6行输入1,7至11行输入2.然后先取A2:A11,双击右下角向下填充,填充方式为复制单元格。

步骤2:选取整个数据表,数据 - 分类汇总 ,在打开的分类汇总窗口中,汇总项选数量和金额。另外还要选中“每组数据分页”的选项。

设置完成后即完成自动分页小计的设置,如下图所示。
