当前位置:首页 > 办公设计 > Office教程 > 透视表终曲_值字段技巧(一)

透视表终曲_值字段技巧(一)

1年前 (2025-05-24)Office教程1510

Pivot Tables grand finale: Tricks with the Values field
透视表终曲:值字段技巧

This is going to be the last PivotTable post, at least for a while. Unlike the last several posts, the subject matter that follows applies to any PivotTable, not just those connected to SQL Server Analysis Services.
这是本阶段内最后一篇关于透视表的文章了。和前几篇文章不同,本主题相关的应用不只是用于连接到SQL Server Analysis Services的,而是任何透视表。

In current versions of Excel, one of the capabilities that exist in PivotTables is the ability to adjust the position of the labels that describe the values in the Values region of the PivotTable (i.e. “Sum of Sales”). Excel PivotTables offer significant flexibility in this area – the labels can be on rows, on columns, and anywhere in the hierarchy on either of those areas. When we visit customers to talk to them about how they use PivotTables, though, we see a couple of things. First, the majority of users aren’t fans of our initial placement of the labels. Second, most people have never figured out that the labels can be repositioned. We have tried to address both of these items in Excel 12.
在这个版本的Excel中,透视表的一个功能就是,用于描述透视表(例如”Sum of Sales”)中选定范围内值的标签的位置是可以改变的。这一点上Excel透视表非常的灵活,标签可以被放在行,列,或者那些区域层级的任意位置。当我们去客户那里,告诉他们怎么使用透视表的时候,通常,我们会遇到两种情况。一种是,大多数用户不喜欢标签的初始位置。另一种,多数客户根本不知道这些标签是可以移动位置的。我们已经试着在Excel12中解决这些问题了。

This area is probably best explained by walking through an example, so here goes. To start with, imagine you were building the following PivotTable. It has some items on rows and columns, and Sales Amount summarized in the Values area.
看一个例子,应该是解释这个问题的最好的方式,所以:),here goes。开始,想象一下你原来做下面这张表的时候。列和行上都有一些项目,后面的计算区域还有销售统计额。

 

If you add a second field to the Values area – say Product Cost – then Excel adds some captions (“Sum of Sales Amount”, “Sum of Product Cost”) below the years (“2003”, “2004”) to help the user distinguish which numbers are Sales and which numbers are Product Cost.
当你增加另一个字段到数值区域,计算Product Cost,Excel就会在年度(”2003″,”2004″)下面加上标题(”Sum of Sales Amount”,”Sum of Product Cost”)以帮助用户区别哪些数字是Sales哪些数字是Product Cost。

 

Those of you familiar with PivotTables have probably already spotted one change from current versions of Excel. In current versions of Excel, the captions are placed in the Row area, not the Column area. Here is a visual of what that looks like.
如果你熟悉数据透视表的话,也许已经看出这个版本的Excel发生了什么改变了。在这个版本的Excel中,标题被放在了行首,而不是列。如下:

 

This one change – putting the labels on columns and not rows when a second field is added to the Values area – makes PivotTables with multiple items in the Values area more readable, and was the default positioning that most users wanted. So far, feedback on this one small change has been very positive.
当有更多字段被放在计算区域的时候,标签将显示在列上而不是行上,这样的一个改变,使得有多个数值的透视表更具可读性,并且,这也是大多数用户想要的。到目前为止,这个小改变的反映非常良好。

As I said above, PivotTables are flexible enough to show the labels at any point in the hierarchy on either the Row or Column areas . To move the labels around in current versions of Excel, you can drag and drop a “Data” field in the Excel grid. This is not terribly obvious, though, and those folks that did spot this capability often had trouble putting the labels at the point in the hierarchy that they wanted. In Excel 12, we have tried to make this a more straightforward task by putting a field for the labels in the Drop Zone area of the field list that people can move around exactly like any other field. So, when you add more than one field to the Values area, we add a field labeled “∑ Values” to the field list, initially in the Column Label area.
如我上面说的一样,现在的透视表已经非常灵活,随便你把标签放在行还是列上了。在这个版本里,直接在Excel表格里拖拽”Data”字段就可以移动标签了。对于那些经常在移动标签时遇到困难的用户,这显然是小菜一碟了。在Excel 12中,我们试着让这个操作更加简单,用户只要为字段表的拖放区域中的标签再写一个字段,就可以像其他字段一样随便移动了。所以,当您增加一个或多个字段到数值区域的时候,我们就会在这些字段列表标签的开头加上”∑ Values”。

 

We don’t show this field until you add a second field to the Values area because we don’t put captions in the PivotTable until there are multiple items in the Values area.
当您在数值区域里放置第二个字段的时候字段标题才会显示出来。这是因为我们不希望在透视表里加数值标题,除非里面有多个项目。


扫描二维码推送至手机访问。

欢迎转载或分享本篇文章。

本文链接:https://www.jcba123.com/article/1068

分享给朋友:

“透视表终曲_值字段技巧(一)” 的相关文章

Excel 365中的这几个函数,太强大了

Excel 365中的这几个函数,太强大了

今天和大家分享几个Excel 365中的新函数,看看这些函数是如何化解各种疑难杂症的。 1、根据指定条件,返回不连续列的信息 如下图所示,希望根据F2:G2单元格中的部门和学历信息,在左侧数据表提取出符合条件的姓名以及对应的年龄信息。 F5单元格输入以下公式: =CHOOSECOLS(FI...

Excel下拉菜单,这样的下拉菜单,你用过吗?

Excel下拉菜单,这样的下拉菜单,你用过吗?

先来看常规的下拉菜单制作方法: 在制作下拉菜单时,序列来源只能是单行或单列的区域。 下面这个表格里,数据源是多行多列的,怎么办呢? 不着急,咱们可以糊弄一下Excel…… 步骤1 定义名称 选中任意一列,如B2:B6,在公式选项卡下,设置自定义名称为“名单”...

自由开源免费的全能办公套件 LibreOffice v24.2.4

自由开源免费的全能办公套件 LibreOffice v24.2.4

更简洁,更快,更智能 LibreOffice 是一款功能强大的办公软件,默认使用开放文档格式 (OpenDocument Format , ODF), 并支持 *.docx, *.xlsx, *.pptx 等其他格式。 它包含了 Writer, Calc, Impress, Draw, Base...

PPT多个图形怎么居中排列?

PPT多个图形怎么居中排列?

PPT多个图形怎么居中?ppt中想要让图形居中,该怎么设置图形居中呢?下面我们就来看看ppt图形居中教程,很简单,需要的朋友可以参考下   1、选择好要编辑的内容,可以直接框选,也可以ctrl挨个单击 2、选择格式可以选择对齐方向 3、选择对齐方...

让Excel自动检测录入的数据,你会用吗?

让Excel自动检测录入的数据,你会用吗?

数据验证,在早期版本中叫数据有效性,能够对用户输入的内容进行检测,限制录入不符合要求的数据。 以下图为例,要分别输入员工年龄、性别、部门和手机号。 因为员工年龄不会小于16岁,也不会大于60岁,因此输入员年龄的区间应该是16~60之间的整数。通过设置数据验证,可以限制输入的年龄范围。 性别只有男...

PPT如何制作抖音故障风海报

PPT如何制作抖音故障风海报

首先,在站长素材网站(https://sc.chinaz.com/)搜索并下载一张喜欢的图片。我选择了一张黄昏人物剪影图片作为素材。 第一步:打开PPT软件,创建一个新的空白演示文稿。插入一个矩形形状,选中矩形并右键单击,选择"设置图片格式"选项。在打开的窗格中,找到"形状选项"下的"...

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。