数据透视表和数据交叉表_关闭数据透视表小计

数据透视表在添加字段时会自动显示小计。在Excel 2007中,可以通过设计选项卡关闭所有小计,但在Excel 2003中需要逐个字段关闭。此外,可以使用编程方式在Excel 2003中删除小计,或使用数据透视表加载项简化操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

数据透视表和数据交叉表

关闭数据透视表小计 (Turn Off Pivot Table Subtotals)

Turn Off Pivot Table Subtotals

When you add field to the Row or Column area of a pivot table, subtotals automatically appear in the outer fields. For example, in the following pivot table, Region and Employee are the outer fields, and show subtotals. Here's how you can turn off pivot table subtotals for some fields.

将字段添加到数据透视表的“行”或“列”区域时,小计会自动显示在外部字段中。 例如,在下面的数据透视表中,Region和Employee是外部字段,并显示小计。 以下是您可以关闭某些字段的数据透视表小计的方法。

数据透视表小计 (Pivot Table Subtotals)

Pivot2003Subtotals

在Excel 2007中删除小计 (Remove Subtotals in Excel 2007)

In Excel 2007 you can turn off all subtotals for the active pivot table, and prevent new subtotals from appearing:

在Excel 2007中,您可以关闭活动数据透视表的所有小计,并防止出现新的小计:

  1. Select a cell in the pivot table

    在数据透视表中选择一个单元格
  2. On the Ribbon, click the Design tab

    在功能区上,单击“设计”选项卡
  3. In the Layout group, click Subtotals, and click Do Not Show Subtotals.

    在“布局”组中,单击“小计”,然后单击“不显示小计”。

Pivot2007NoSubtotals

However, there's no setting you can change to make this the default behaviour for all pivot tables.

但是,没有任何设置可以更改以使其成为所有数据透视表的默认行为。

在Excel 2003中删除小计 (Remove Subtotals in Excel 2003)

In earlier versions of Excel, you have to turn off the subtotal for each field individually, either manually or programmatically.

在早期版本的Excel中,您必须手动或以编程方式分别关闭每个字段的小计。

To manually turn off a field's subtotals:

要手动关闭字段的小计:

  1. Double-click the field button, to open the PivotTable Field dialog box.

    双击字段按钮,以打开“数据透视表字段”对话框。
  2. Under Subtotals, click None, then click OK.

    在“小计”下,单击“无”,然后单击“确定”。

Pivot2003NoSubtotals

以编程方式删除小计 (Programmatically Remove Subtotals)

To make it easier to remove all the subtotals in Excel 2003, there's a subtotals command in my Pivot Table Add-in.

为了更轻松地删除Excel 2003中的所有小计,我的数据透视表加载项中有一个小计命令。

翻译自: https://contexturesblog.com/archives/2009/04/20/turn-off-pivot-table-subtotals/

数据透视表和数据交叉表

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值