数据透视表数据空白_更改数据透视表中的空白标签

当数据透视表中出现'(空白)'标签时,这通常是因为源数据缺失。你可以通过在数据透视表选项中设置显示文本为'N/A',但这只影响值区域,而非行或列标签。要手动更改行或列标签的'(空白)',可以直接在单元格中键入'N/A'。使用Pivot Power Premium加载项能更高效地管理和格式化数据透视表。

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

数据透视表数据空白

In a pivot table, you might have a few row labels or column labels that contain the text “(blank)”. This happens if data is missing in the source data. For example, in the source data, there might be a few sales orders that don’t have a Store number entered.

在数据透视表中,可能有一些包含文本“(空白)”的行标签或列标签。 如果源数据中缺少数据,则会发生这种情况。 例如,在源数据中,可能有一些未输入商店编号的销售订单。

You want blank cells in the Row Labels area and Column Labels area to contain the text “N/A.”

您希望“行标签”区域和“列标签”区域中的空白单元格包含文本“ N / A”。

In the PivotTable Options dialog box, you entered N/A as the text to display in empty cells.

在“数据透视表选项”对话框中,输入N / A作为文本显示在空白单元格中。

However, the empty cells appear as (blank) in the Row and Column Labels areas.

但是,空单元格在行和列标签区域中显示为(空白)。

Change Blank Labels in a Pivot Table

更改标签 (Change the Labels)

In the PivotTable Options dialog box, the setting for empty cells affects cells in the Values area, but not the Row or Column Labels areas. In the screen shot above, you can see that missing data in the Values area has been replace by N/A, but the row and column labels haven’t changed.

在“数据透视表选项”对话框中,空单元格的设置会影响“值”区域中的单元格,但不会影响“行”或“列标签”区域中的单元格。 在上面的屏幕快照中,您可以看到“值”区域中的丢失数据已被N / A代替,但行和列标签未更改。

You can manually change the (blank) labels in the Row or Column Labels areas by typing over them in the pivot table. You can type any text to replace the (Blank) entry, even a space character, but you can’t clear the cell and leave it empty:

您可以通过在数据透视表中键入来在行或列标签区域中手动更改(空白)标签。 您可以输入任何文本来替换(空白)条目,甚至可以是空格字符,但是您无法清除单元格并将其保留为空:

  1. Select one of the Row or Column Labels that contains the text (blank).

    选择包含文本(空白)的行或列标签之一。
  2. Type N/A in the cell, and then press the Enter key.

    在单元格中键入N / A ,然后按Enter键。

Note: All other (Blank) items in that field will change to display the same text, N/A in this example. __________________________________

注意:该字段中的所有其他(空白)项目将更改为显示相同的文本,在此示例中为N / A。 __________________________________

数据透视表工具 (Pivot Table Tools)

To save time when building, formatting and modifying your pivot tables, use the tools in my Pivot Power Premium add-in. With just a few clicks, you can:

为了节省构建,格式化和修改数据透视表时的时间,请使用我的Pivot Power Premium加载项中工具 。 只需单击几下,您就可以:

  • copy the formatting from one pivot table, and apply it to another pivot table.

    从一个数据透视表复制格式,然后将其应用于另一数据透视表。
  • change all the values from Count to Sum

    将所有值从Count更改为Sum
  • remove the "Sum of" from all the headings

    从所有标题中删除“总和”

and much more!

以及更多!

翻译自: https://contexturesblog.com/archives/2008/12/11/change-blank-labels-in-a-pivot-table/

数据透视表数据空白

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值