我们说我有下表:
CORP | COAST | CITY | DONE | MISSING | TOTAL
-------------------------------------
New | West | LAX | 2 | 4 | 6
Old | West | SFO | 3 | 3 | 6
New | East | NYC | 4 | 2 | 6
我制作了一个如下所示的数据透视表:
CORP:
COAST: NEW | OLD
-------------------------------------
EAST |
SUM OF TOTAL | 6 |
SUM OF DONE | 4 |
SUM OF MISSING | 2 |
WEST
SUM OF TOTAL | 6 | 6
SUM OF DONE | 2 | 3
SUM OF MISSING | 4 | 3
我现在要添加一个ROW
,即DONE
金额的TOTAL
百分比。即像这样的东西:
CORP:
COAST: NEW | OLD
-------------------------------------
EAST |
SUM OF TOTAL | 6 |
SUM OF DONE | 4 |
SUM OF MISSING | 2 |
% DONE | %67|
WEST
SUM OF TOTAL | 6 | 6
SUM OF DONE | 2 | 3
SUM OF MISSING | 4 | 3
% DONE | %33| %50
% DONE
的公式为DONE / TOTAL
我已尝试在数据透视表中添加另一个DONE
字段(即SUM OF DONE2
),然后将值设置为% OF
,基本字段TOTAL
和然而,基本值(previous)
会使% DONE
返回#N/A
的值。我已尝试过上述各种组合,但所有组合都返回相同的#N/A
。即我的数据透视表看起来像这样:
CORP:
COAST: NEW | OLD
-------------------------------------
EAST |
SUM OF TOTAL | 6 |
SUM OF DONE | 4 |
SUM OF MISSING | 2 |
% DONE |#N/A|
WEST
SUM OF TOTAL | 6 | 6
SUM OF DONE | 2 | 3
SUM OF MISSING | 4 | 3
% DONE |#N/A| #N/A
我已经尝试使用谷歌搜索如何做但仍无济于事。如果我正在寻找的话,请告诉我。