ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding Pivot Tables Dynamically (https://www.excelbanter.com/excel-programming/297145-adding-pivot-tables-dynamically.html)

DavidW

Adding Pivot Tables Dynamically
 
I have written a routine that loops through each column in a pivot table and hides those columns that are not required - this works fine. I now need to write a routine that looks at the pivot table columns and adds the vales of certain columns together. This is achievable but where I am having problems is if one of the columns does not have any values in it hence will not appear on the pivot table. Adding a calculated field would not work because the column may not exist.


All times are GMT +1. The time now is 12:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com