I'm new to Pivot tables. I need to provide data to the users on sales. We have Divisions. Each division has several Departments and each department has several Classes. I want to provide the data at the class level and was hoping that the users could use the pivot tables to see the data summarized at division or department levels and let them drill down.
Anyway, what I've done, with the aid of the information in the forum, is to normalize the data. Here is an example:
Div, Dept, Class, Field, Data
1, 10, 100, Curr Sales, 110.00
1, 10, 200, Curr Sales, 220.00
1, 10, 100, Pri Sales, 100.00
1, 10, 200, Pri Sales, 200.00
etc
There are actually a few more Fields: Curr Cost, Pri Cost, Curr Disc, Pri Disc, Curr Rtns, Pri Rtns. They are all in the above format.
Then I created a pivot table which looks like the following:
Div Dept Class Curr Sales Pri Sales etc
1 10 100 110.00 100.00
1 10 200 220.00 200.00
etc
And this works great at this point.
Then I would like to add several calculated items. For example, I want to know how much the sale increased/decreased. So I go to Pivot Table, Formula, Calculated Item and create a field called Pct with the formula =(('Curr Sales'-'Pri Sales')/'Pri Sales')*100
When I click Okay, I get "There are too many records to complete the operation".
I'm using Excel 2003. There are 4025 rows on the normalized table. There are 599 rows on the Pivot Table.
This doesn't seem to be excessively large, so I don't really understand the error. Can some one help?
Deb
Anyway, what I've done, with the aid of the information in the forum, is to normalize the data. Here is an example:
Div, Dept, Class, Field, Data
1, 10, 100, Curr Sales, 110.00
1, 10, 200, Curr Sales, 220.00
1, 10, 100, Pri Sales, 100.00
1, 10, 200, Pri Sales, 200.00
etc
There are actually a few more Fields: Curr Cost, Pri Cost, Curr Disc, Pri Disc, Curr Rtns, Pri Rtns. They are all in the above format.
Then I created a pivot table which looks like the following:
Div Dept Class Curr Sales Pri Sales etc
1 10 100 110.00 100.00
1 10 200 220.00 200.00
etc
And this works great at this point.
Then I would like to add several calculated items. For example, I want to know how much the sale increased/decreased. So I go to Pivot Table, Formula, Calculated Item and create a field called Pct with the formula =(('Curr Sales'-'Pri Sales')/'Pri Sales')*100
When I click Okay, I get "There are too many records to complete the operation".
I'm using Excel 2003. There are 4025 rows on the normalized table. There are 599 rows on the Pivot Table.
This doesn't seem to be excessively large, so I don't really understand the error. Can some one help?
Deb