透视表二级菜单_从数据透视表下拉菜单中清除旧项目

当从源数据中删除项目后,数据透视表的下拉列表中可能仍然显示旧项目。可以通过更改数据透视表设置来解决这个问题。在Excel中,右键点击数据透视表单元格,选择数据透视表选项,然后在数据标签的保留项目部分选择“无”。此外,对于Excel 2019或更高版本,可以在默认设置中进行更改以防止新数据透视表出现旧项目。
摘要由CSDN通过智能技术生成

透视表二级菜单

Old items might still appear in pivot table drop down lists, even after you remove the items from the source data. Here’s how to stop fix that problem – watch the short video, or see the written steps below.

即使从源数据中删除项目,旧项目仍可能会出现在数据透视表下拉列表中。 这是停止解决该问题的方法-观看简短视频,或查看下面的书面步骤。

视频:修复数据透视表列表中的旧项目 (Video: Fix Old Items in Pivot Table Lists)

This video shows how to remove those old items from a pivot table, with a change to the pivot table settings. For newer versions of Excel, you’ll also see how to change your default settings, to prevent old items in all new pivot tables.

该视频显示了如何通过更改数据透视表设置从数据透视表中删除这些旧项目。 对于较新版本的Excel,您还将看到如何更改默认设置,以防止所有新的数据透视表中出现旧项目。

演示地址

Video Timeline

影片时间表

  • 00:00    Intro

    00:00简介
  • 01:37    Change a Setting

    01:37更改设置
  • 02:57    Default Setting

    02:57默认设置
停止显示旧项目 (Stop Old Items from Showing)

To stop old items from showing in an existing pivot table, you can change one of the pivot options.

要停止旧项目在现有数据透视表中显示,您可以更改数据透视选项之一。

NOTE: This setting will affect all pivot tables that use the same pivot cache.

注意 :此设置将影响使用同一数据透视表缓存的所有数据透视表。

  1. Right-click a cell in the pivot table

    右键单击数据透视表中的单元格
  2. Click on PivotTable options

    单击数据透视表选项
  3. Click on the Data tab

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

    在“保留项目”部分中,从下拉列表中选择“无”。
  5. Click OK, then refresh the pivot table.

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

NOTE: There is also a Clear Old Items feature in my PivotPower Premium add-in, along with many other time-saving pivot table tools.

注意 :我的PivotPower Premium加载 项中还具有“ 清除旧项目”功能,以及许多其他省时的数据透视表工具。

更改数据透视表默认设置 (Change Pivot Table Default Setting)

To keep old items from appearing the new pivot tables that you build, you can also change that pivot option in your default settings.

为了防止旧项目出现在您构建的新数据透视表中,您还可以在默认设置中更改该数据透视表选项。

NOTE: This feature is only available in Excel for Office 365, or Excel 2019 or later

注意:此功能仅在Office 365的Excel或Excel 2019或更高版本中可用

Follow these steps to change the default pivot table settings.

请按照以下步骤更改默认数据透视表设置。

  1. At the top of Excel, click the File tab

    在Excel顶部,单击“文件”选项卡
  2. Click Options

    点击选项
  3. In the Category list, click Data

    在类别列表中,单击数据
  4. In the Data Options section, click Edit Default Layout button

    在“数据选项”部分中,单击“编辑默认布局”按钮
  5. Click on PivotTable options

    单击数据透视表选项
  6. Click on the Data tab

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

    在“保留项目”部分中,从下拉列表中选择“无”。
  8. Click OK, three times, to close all the windows.

    单击确定,三次,以关闭所有窗口。
有关旧物品的更多信息 (More Info on Old Items)

If your pivot table already contains old items, there are steps on my Contextures site, that show how to remove the old items.

如果您的数据透视表已经包含旧项目,那么我的Contextures网站上有一些步骤,显示如何删除旧项目

There are also macros that you can use, to:

您还可以使用以下宏:

To get this information, go to the Clear Old Items page on my Contextures site.

要获取此信息,请转到Contextures网站上的Clear Old Items页面

获取工作簿 (Get the Workbook)

To get the free workbook, go to the Clear Old Items page on my Contextures site.

要获得免费的工作簿,请转到Contextures网站上的Clear Old Items页面

  • The download file has sample data and pivot tables. The zipped file is in xlsm format, and contains the macros from that page.

    下载文件包含示例数据和数据透视表。 压缩文件为xlsm格式,其中包含该页面中的宏。
  • To test the macros, be sure to enable macros, if prompted, when you unzip and open the workbook.

    要测试宏,请确保在解压缩并打开工作簿时启用宏(如果出现提示)。

翻译自: https://contexturesblog.com/archives/2020/08/06/clear-old-items-from-pivot-table-drop-downs/

透视表二级菜单

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值