数据透视表和数据交叉表_数据透视表下拉列表中出现旧项目

数据透视表和数据交叉表

After you update the source data for a pivot table, and refresh the table, some of the old data might still appear in the pivot table drop downs. For example, you changed a product name from Whole Wheat to Whole Grain, and now both names show up in the pivot table’s Product drop down.

更新数据透视表的源数据并刷新表后,某些旧数据可能仍会出现在数据透视表下拉列表中。 例如,您将产品名称从“全麦”更改为“全谷物”,现在这两个名称都显示在数据透视表的“产品”下拉列表中。

OldItems01

防止Excel 2007中的旧项目 (Prevent Old Items in Excel 2007)

You can prevent old items from being retained in an Excel 2007 pivot table, by changing on of the pivot table options

通过更改透视表选项,可以防止旧项目保留在Excel 2007透视表中

  1. Right-click a cell in the pivot table

    右键单击数据透视表中的单元格
  2. In the pop-up menu, click PivotTable options

    在弹出菜单中,单击“数据透视表”选项
  3. Click the Data tab

    点击数据标签
  4. In the Retain Items section, select None from the drop down list.

    在“ 保留项目”部分中,从下拉列表中选择“ ”。

  5. Click OK, then refresh the pivot table.

    单击确定,然后刷新数据透视表。
OldItems02

The old items will disappear from the pivot table drop downs, and won’t appear again.

旧项目将从数据透视表下拉菜单中消失,并且不会再次出现。

清除Excel 2003中的旧项目 (Clear Old Items in Excel 2003)

To prevent old items in Excel 2003 pivot tables, you can use programming to change the MissingItemsLimit setting.

为了防止Excel 2003数据透视表中的旧项目,可以使用编程来更改MissingItemsLimit设置

Or, you can manually clear the old items, by following these steps:

或者,您可以按照以下步骤手动清除旧项目:

  1. If you manually created groups that include the old items, ungroup those items.

    如果您手动创建了包含旧项目的组,请取消对这些项目的分组。
  2. Drag the pivot field that contains old items out of the pivot table. Also remove it from any other pivot tables that use the same pivot cache.

    将包含旧项目的数据透视表字段拖出数据透视表。 还要从使用同一数据透视表缓存的任何其他数据透视表中将其删除。
  3. Refresh the pivot table.

    刷新数据透视表。
  4. Drag the pivot field back to the pivot table.

    将数据透视表字段拖回到数据透视表。

This will clear the existing old items, but won’t prevent more from appearing later.

这将清除现有的旧项目,但不会阻止更多内容稍后出现。

观看视频 (Watch the Video)

To see the steps to change the retain items setting in Excel 2007, you can watch this short video.

若要查看在Excel 2007中更改保留项设置的步骤,可以观看此简短视频。

演示地址

翻译自: https://contexturesblog.com/archives/2010/02/05/old-items-appear-in-pivot-table-drop-downs/

数据透视表和数据交叉表

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值