简体   繁体   English

数据透视表的计算字段未正确显示总计

[英]Pivot Table's Calculated Field doesn't display Grand Total Correctly

I have the following Excel file: https://ufile.io/n9ed0我有以下 Excel 文件: https : //ufile.io/n9ed0

Which looks like this:看起来像这样:

在此处输入图片说明

I have the calculated field Break Lateness to determine how late an "agent" is from his Break 1 by using the following formula:我有计算字段Break Lateness来确定“代理”从他的 Break 1 开始使用以下公式有多晚:

IF( 'Break 1' > TIME(0,15,0) , 'Break 1' - TIME(0,15,0), TIME(0,0,0) )

The formula seems to work fine on cell range: C3:C12 .该公式似乎适用于单元格范围: C3:C12 But the Grand total in C2 and C13 is not correct.但是C2C13总计不正确。

I tried changing the time format but I'm unable to determine the reason why the sum is not being computed and displayed in the format I'd like.我尝试更改时间格式,但无法确定未以我想要的格式计算和显示总和的原因。

Thank you!谢谢!

This is a known bug in Excel since many years... See here .多年来,这是 Excel 中的一个已知错误...请参阅此处 I don't know when it will be solved.不知道什么时候能解决。

I have tried to trick it, eg by creating an intermediate field holding the complex calculation, but this is not sufficient... (if I find a valid workaround, I will post it here).我试图欺骗它,例如通过创建一个包含复杂计算的中间字段,但这还不够......(如果我找到了有效的解决方法,我会在这里发布)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM