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

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

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

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

分享给朋友:

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

“比较和合并工作簿”灰色选项不能用?90%人不知道这个神技的用法!

“比较和合并工作簿”灰色选项不能用?90%人不知道这个神技的用法!

相信许多小伙伴都不知道,其实Excel中自带有一项“比较和合并工作簿”功能,因为该功能一直都没有在我们的选项卡中出现过。就算有些小伙伴无意间看到该功能,它也是灰色不可用状态,所以知道的人并不多。该功能为什么是灰色不可用? 今天,易老师就来带大家一起看看被EXCEL隐藏起来的“比较和合并...

XLOOKUP函数经典用法总结

XLOOKUP函数经典用法总结

HI,大家好,我是星光。 今天给大家分享的Excel函数是XLOOKUP,例先说一下它的基本语法。它有六个参数,成功超越大哥大OFFSET,成为参数最多的函数之一。 =XLOOKUP(查找值,查找范围,结果范围,[容错值],[匹配方式],[查询模式]) 参数看起来很多,不过只有前三个是...

PPT聚光灯扫射播放效果

PPT聚光灯扫射播放效果

第一步:插入文本框,输入自己所需要文字,并填充为黑色。 第二步:点击右键,设计背景格式,背景改为黑色。此时,文字就看不到了 第三步:点击开始,形状,插入一个圆形。点击格式。 第四步:点击格式,形状填充,把圆形改为白色。 第五步:点击右键,置于底...

PPT如何制作年会倒计时效果

PPT如何制作年会倒计时效果

第一步:打开PPT软件,创建一个新的空白演示文稿。然后,在幻灯片上插入所需的图片,并在页面中插入一个文本框,输入数字“3”。 第二步:选中当前幻灯片,按住Ctrl+D键复制两页幻灯片,并修改其中的数字。接着新建一个幻灯片,插入所需的封面图片。 第三步:按住Shift键选中...

优化PPT文件:减小体积技巧

优化PPT文件:减小体积技巧

1.压缩图像文件: 在PPT中,选中要压缩的图片,然后依次点击 "图片格式" > "压缩图片"。默认设置一般已经足够,但你也可以选择 "Web:适用于网页和投影仪" 来进一步减小文件大小。   2.仅嵌入所需的字体: 依次点击 "文件" >...

设计感强化:PPT封面设计指南

设计感强化:PPT封面设计指南

第一步:设置背景。打开PPT软件,创建一个空白演示文稿,新建幻灯片,并填充纯色背景,颜色为RGB(24, 24, 67)。 第二步:创建主视觉图形。首先插入一个圆形,并设置其渐变效果(如图2-1)。然后放大该圆形并将其移动到画布外部,只显示圆的下半部分。设置圆的渐变参数(如图2...

发表评论

访客

看不清,换一张

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