[英]Calculating percent change in Excel Pivot Table
Using standard Excel 2010 I am trying to calculate percent change from 2013 to 2014 and put that in a column after grand total. 使用标准的Excel 2010,我试图计算2013年至2014年的变化百分比,并将其放在总计之后的栏中。
The formula I am trying to use is (2013 - 2014) / 2013
我要使用的公式是
(2013 - 2014) / 2013
I have tried Calculated Field but that hasn't worked, and I can't do Calculated Item since I grouped my dates to show in years instead of days. 我尝试了“ 计算字段”,但是没有用,因为我将日期分组为以年而不是天为单位,所以我无法执行“ 计算项目” 。
This is what the source data looks like : 这就是源数据的样子:
Any help is appreciated! 任何帮助表示赞赏!
Assuming you now have Sales
in the value field and Year
in the column field 假设您现在在value字段中有
Sales
,在column字段中有Year
。
Add Sales
to the value field again 再次将
Sales
添加到值字段
Click the drop down for your second Sales
单击下拉菜单以进行第二次
Sales
Go to "Value Field Settings" 转到“值字段设置”
Go to show "Show Value As" in the tab 在标签中显示“将值显示为”
"Show Values As" scroll to "% Difference From" “将值显示为”滚动到“与%的差异”
Base Field is Year
基本字段是
Year
Base item is Previous
基本项目是
Previous
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.