引用整个数据透视表的公式?
我有一堆包含详细数据集和数据透视表的工作表。在摘要表上,我想仅显示数据透视表。 (当然,我宁愿保持干燥,而不是创建一个全新的集合。)我如何引用旧的数据透视表?
如有必要,我可以使用 VBA 来完成此操作。
I have a bunch of sheets with detailed data sets and pivot tables. On a summary sheet, I want to display just the pivot tables. (Of course, I'd rather stay DRY and not create a whole new set.) How can I reference the old pivot tables?
I can use VBA to do this if necessary.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
该子程序将使数据透视表保持“活动”状态。如果您不想这样做,您可以将 PasteValues 覆盖在它们上。
This sub will keep the pivot tables 'live.' You could PasteValues over them if you don't want that.
数据透视表在工作簿中称为“Excel 表”。因此,您应该能够在没有 VB 的情况下执行此操作,如我在此答案中所述。
太长;博士;
Pivot tables are named "Excel tables" in your workbook. So you should be able to do this without VB as I described in this answer.
tl;dr;