数据透视表 - 使用显示值为时替换#N / A.

时间:2014-05-09 17:56:33

标签: excel excel-2013

我在Excel 2013中有一个数据透视表,其中第一列是标准聚合值,第二列使用"显示值为,%差异来自"菜单选择相同的措施。在某些子类别中,缺少与其他值进行比较的成员。发生这种情况时,Excel会显示" #N / A"。有没有办法抑制#N / A并显示空白或不同的字符串?

DIMENSION           DOLLARS       % DIFF FROM MEMBER 3
                                  IN THAT SUBCATEGORY   
CATEGORY A          
    SUBCATEGORY A1      
        MEMBER 1     $6,115         -3.14%
        MEMBER 2    $12,304     94.90%
        MEMBER 3     $6,313 
        MEMBER 4     $6,657      5.45%
        MEMBER 5     $6,329      0.25%

    SUBCATEGORY A2      
        MEMBER 1     $5,459      #N/A
        MEMBER 2     $5,051      #N/A
        MEMBER 4     $8,217      #N/A
        MEMBER 5     $4,569      #N/A
        MEMBER 6     $3,882      #N/A

    SUBCATEGORY A3        
        MEMBER 1     $8,003      8.25%
        MEMBER 2     $8,675     17.34%
        MEMBER 3     $7,393  
        MEMBER 4     $7,564      2.31%

CATEGORY B      
    SUBCATEGORY B1      

1 个答案:

答案 0 :(得分:4)

右键单击数据透视表,然后选择数据透视表选项'。您应该看到以下对话框:

enter image description here

如上所述,选中“#34;对于错误值显示:"并在它旁边的输入框中输入您想要的任何内容。如果你把它留空,你就会得到空白。