I have been searching all over for most of the day on the best way to do this, but I am stumped.
I have a worksheet of data in the workbook. It contains fields for "Project", "Month", "Drawings", and a bunch of other columns. I made a single pivot table from this worksheet that will count the number of drawings per project and month.
I have a second worksheet of data in the workbook. It contains fields for "Project", "Code", "Month", "Hours", and a bunch of other columns. I made a single pivot table from this worksheet that will sum the number of hours per project per month per code.
The data are unique between the two worksheets except for the common "Project" and "Month". Sometimes there are no drawings and some hours in a month, and sometimes there are no hours but drawings in a month.
What I really want is one pivot table that includes the "Project", "Month", "Drawings", and "Hours". I thought it would be easy to create a pivot table based on two other pivot tables (Drawings and Hours) or a single pivot table from data in two different worksheets... but I have been unsuccessful in doing this. I am trying not to edit the source data in the worksheets because this data is regularly updated over time and I don't want to recreate columns or formulas each time. I've even tried to make up a SQL data connection in VBA to do this. Can anyone please help?
I have a worksheet of data in the workbook. It contains fields for "Project", "Month", "Drawings", and a bunch of other columns. I made a single pivot table from this worksheet that will count the number of drawings per project and month.
I have a second worksheet of data in the workbook. It contains fields for "Project", "Code", "Month", "Hours", and a bunch of other columns. I made a single pivot table from this worksheet that will sum the number of hours per project per month per code.
The data are unique between the two worksheets except for the common "Project" and "Month". Sometimes there are no drawings and some hours in a month, and sometimes there are no hours but drawings in a month.
What I really want is one pivot table that includes the "Project", "Month", "Drawings", and "Hours". I thought it would be easy to create a pivot table based on two other pivot tables (Drawings and Hours) or a single pivot table from data in two different worksheets... but I have been unsuccessful in doing this. I am trying not to edit the source data in the worksheets because this data is regularly updated over time and I don't want to recreate columns or formulas each time. I've even tried to make up a SQL data connection in VBA to do this. Can anyone please help?