Hi All,
I am using the pivot table function of Excel to do some grouping and totalling of information coming from an Access database. I need some help in figuring out how to lock the size of the pivot table.
Here's what's happening. In the database, a query selects values of loans coming from 7 different sources and the 8 different types of clients they can go to. For my report, I need to group and total the 7 sources into 4 and the 8 types of clients into 3. The pivot table is working and does this just great.
Next, I need to move these values back into Access. I have a second worksheet in the workbook which has absolute references to cells in the pivot table on the first worksheet. Thus, the second worksheet takes the table format of the pivot table and puts it all in a single row to be imported back into Access as a new table.
The problem. My problem comes when there is no information for one of the loan sources or one of the client types. The pivot table condenses and the absolute references on the second sheet are pointing to the wrong cell. I want to lock the size of the pivot table so that the cells on the second worksheet are always pointing to the correct cells on the first. I would also like to fill the empty cells with 0's.
I would appreciate hearing if someone has a way of doing this or ideas on different ways of accomplishing this.
Thanks a bunch! (And sorry for a lengthy post.)
TechieJr.
I am using the pivot table function of Excel to do some grouping and totalling of information coming from an Access database. I need some help in figuring out how to lock the size of the pivot table.
Here's what's happening. In the database, a query selects values of loans coming from 7 different sources and the 8 different types of clients they can go to. For my report, I need to group and total the 7 sources into 4 and the 8 types of clients into 3. The pivot table is working and does this just great.
Next, I need to move these values back into Access. I have a second worksheet in the workbook which has absolute references to cells in the pivot table on the first worksheet. Thus, the second worksheet takes the table format of the pivot table and puts it all in a single row to be imported back into Access as a new table.
The problem. My problem comes when there is no information for one of the loan sources or one of the client types. The pivot table condenses and the absolute references on the second sheet are pointing to the wrong cell. I want to lock the size of the pivot table so that the cells on the second worksheet are always pointing to the correct cells on the first. I would also like to fill the empty cells with 0's.
I would appreciate hearing if someone has a way of doing this or ideas on different ways of accomplishing this.
Thanks a bunch! (And sorry for a lengthy post.)
TechieJr.