excel - Error in GetpivotTable formula -
i have 2 pivot tables adding values within cell. problem have , haven't figured out how solve. using getpivottable function if data isn't there #ref error. way make work manually editing time. isn't ideal solution. what's best way this.
formula1: before manual update
=(getpivotdata("sum of demand_hours",$z$45,"prod_month","2014-04","status_rollup","approved","sp_position_status","committed","project category","implementation")+getpivotdata("sum of demand_hours",$s$85,"prod_month","2014-04","status_rollup","approved","sp_position_status","committed","project category","implementation"))/152.7
formula2: after update
=(getpivotdata("sum of demand_hours",$z$45,"prod_month","2014-04","status_rollup","approved","sp_position_status","committed","project category","implementation"))/152.7
if understand correctly, data in 1 of tables not there. use iferror excel function around each getpivotdata function return 0 if pivot table not contain data you're looking for.
Comments
Post a Comment