admin管理员组文章数量:1310466
I would like to create a pivot table with a summary of some sales orders. The sales orders include lists of hardware and software license items. The software licenses have "end dates" as they are licenses for a duration. I would like the finished table to report the numbers of each product sold for each purchase order and, for licenses only the "average" end-date. I have columns set for "hardware" and "software" so that it is easy to tell which product is in which category (product names are somewhat challenging to interpret). Original data and Pivot images attached.
Question: how can I only display the "Average of End Date" summary for the Software category, as it is not relevant to the "Hardware" category - i.e. I don't want the third column in the shown pivot table to display at all
I would like to create a pivot table with a summary of some sales orders. The sales orders include lists of hardware and software license items. The software licenses have "end dates" as they are licenses for a duration. I would like the finished table to report the numbers of each product sold for each purchase order and, for licenses only the "average" end-date. I have columns set for "hardware" and "software" so that it is easy to tell which product is in which category (product names are somewhat challenging to interpret). Original data and Pivot images attached.
Question: how can I only display the "Average of End Date" summary for the Software category, as it is not relevant to the "Hardware" category - i.e. I don't want the third column in the shown pivot table to display at all
Share Improve this question edited Feb 3 at 15:57 JetSetJim asked Feb 3 at 11:49 JetSetJimJetSetJim 781 silver badge12 bronze badges1 Answer
Reset to default 0You can't. Every element in the Values well will get assigned its matching column and you can't dynamically suppress it.
Consider
- hiding the whole Excel column after a pivot table refresh
- writing VBA that runs after pivot table refresh to automate hiding the undesired column(s)
本文标签: excelPivot table output tweakingspecific summary for subset of columnsStack Overflow
版权声明:本文标题:excel - Pivot table output tweaking - specific summary for subset of columns - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741823693a2399519.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论