Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Pivot Tables with different groupings based on same data table

In Excel 2007 I have one data table, say Dates by Weight, and want to see and
save two pivot tables & charts, one grouped by weeks, the other by months. If
I simply change the date grouping in one table, the other table also changes.
I could create two separate data tables, but I'd like to be able to add new
data to only one table. How can I keep the groupings in the 2 pivot tables
distinct without losing the ability to update each of them when the main data
table is updated?

Thanks for any tips.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Pivot Tables with different groupings based on same data table

Bill, you can group the same initial field multiple times.

If you initially group your dates into weeks this becomes Group 1 (which you
can rename to weeks) if you then Group this Group 1 (Weeks) into months then
you get Group 2 (which you can rename to months). You can then have one pivot
table showing the data by weeks and the other by months.

Alternatively, you can add an extra dummy column to the data for the second
pivot table that you create, and Excel will after a couple of actions treat
each table separately.

"billwoodard" wrote:

In Excel 2007 I have one data table, say Dates by Weight, and want to see and
save two pivot tables & charts, one grouped by weeks, the other by months. If
I simply change the date grouping in one table, the other table also changes.
I could create two separate data tables, but I'd like to be able to add new
data to only one table. How can I keep the groupings in the 2 pivot tables
distinct without losing the ability to update each of them when the main data
table is updated?

Thanks for any tips.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Pivot Tables with different groupings based on same data table

And alternatively again you could add two more columns to your data one using
the weeknum function and the other the month function so that you don't have
to manually update the groupings.

"Ian Grega" wrote:

Bill, you can group the same initial field multiple times.

If you initially group your dates into weeks this becomes Group 1 (which you
can rename to weeks) if you then Group this Group 1 (Weeks) into months then
you get Group 2 (which you can rename to months). You can then have one pivot
table showing the data by weeks and the other by months.

Alternatively, you can add an extra dummy column to the data for the second
pivot table that you create, and Excel will after a couple of actions treat
each table separately.

"billwoodard" wrote:

In Excel 2007 I have one data table, say Dates by Weight, and want to see and
save two pivot tables & charts, one grouped by weeks, the other by months. If
I simply change the date grouping in one table, the other table also changes.
I could create two separate data tables, but I'd like to be able to add new
data to only one table. How can I keep the groupings in the 2 pivot tables
distinct without losing the ability to update each of them when the main data
table is updated?

Thanks for any tips.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Pivot Tables with different groupings based on same data table



"Ian Grega" wrote:

Bill, you can group the same initial field multiple times.

If you initially group your dates into weeks this becomes Group 1 (which you
can rename to weeks) if you then Group this Group 1 (Weeks) into months then
you get Group 2 (which you can rename to months). You can then have one pivot
table showing the data by weeks and the other by months.

Alternatively, you can add an extra dummy column to the data for the second
pivot table that you create, and Excel will after a couple of actions treat
each table separately.

"billwoodard" wrote:

In Excel 2007 I have one data table, say Dates by Weight, and want to see and
save two pivot tables & charts, one grouped by weeks, the other by months. If
I simply change the date grouping in one table, the other table also changes.
I could create two separate data tables, but I'd like to be able to add new
data to only one table. How can I keep the groupings in the 2 pivot tables
distinct without losing the ability to update each of them when the main data
table is updated?

Thanks for any tips.


Perhaps I didn't make the situation clear. On a single worksheet I have a
small table consisting of two columns, Date & Sales. Each row is one
instance of a date with its sales. The data is in the form of an Excel 2007
"Table". With a cell in the table selected, I click on "Insert Pivot Table";
position it on the same worksheet as the data table; in the Pivot Table Field
List I check both Date and Sales; then select a Date cell, Rt.Click , Click
Group, and Group by weeks (7 days); thus giving me the 1st table I want and
from which I can obtain the chart I want.
But then I try to repeat the whole process, same worksheet, same sequence,
and I get a 2nd pivot table. And now when I group the dates by Months, the
1st pivot table suddenly changes to a monthly table as well & likewise a
chart associated with it. How do I keep these two pivot tables independent
of eachother??????
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Pivot Tables with different groupings based on same data table

I am having the same problem - did anyone find a solution?
I would really appreciate any help on this.

Thanks


"billwoodard" wrote:



"Ian Grega" wrote:

Bill, you can group the same initial field multiple times.

If you initially group your dates into weeks this becomes Group 1 (which you
can rename to weeks) if you then Group this Group 1 (Weeks) into months then
you get Group 2 (which you can rename to months). You can then have one pivot
table showing the data by weeks and the other by months.

Alternatively, you can add an extra dummy column to the data for the second
pivot table that you create, and Excel will after a couple of actions treat
each table separately.

"billwoodard" wrote:

In Excel 2007 I have one data table, say Dates by Weight, and want to see and
save two pivot tables & charts, one grouped by weeks, the other by months. If
I simply change the date grouping in one table, the other table also changes.
I could create two separate data tables, but I'd like to be able to add new
data to only one table. How can I keep the groupings in the 2 pivot tables
distinct without losing the ability to update each of them when the main data
table is updated?

Thanks for any tips.


Perhaps I didn't make the situation clear. On a single worksheet I have a
small table consisting of two columns, Date & Sales. Each row is one
instance of a date with its sales. The data is in the form of an Excel 2007
"Table". With a cell in the table selected, I click on "Insert Pivot Table";
position it on the same worksheet as the data table; in the Pivot Table Field
List I check both Date and Sales; then select a Date cell, Rt.Click , Click
Group, and Group by weeks (7 days); thus giving me the 1st table I want and
from which I can obtain the chart I want.
But then I try to repeat the whole process, same worksheet, same sequence,
and I get a 2nd pivot table. And now when I group the dates by Months, the
1st pivot table suddenly changes to a monthly table as well & likewise a
chart associated with it. How do I keep these two pivot tables independent
of eachother??????



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Pivot Tables with different groupings based on same data table



"ColG" wrote:

I am having the same problem - did anyone find a solution?
I would really appreciate any help on this.

Thanks


"billwoodard" wrote:
Go to "Excel New Users" & search for "billwoodard" and you'll find a useful solution. The last line, however, seems to have an omission. It was:

=$A$1:INDEX($B:$B,COUNTA($A:$A))
but before the last parenthesis there should be a comma followed by the
last column number (a number relative to $A$1 in this example).


"Ian Grega" wrote:

Bill, you can group the same initial field multiple times.

If you initially group your dates into weeks this becomes Group 1 (which you
can rename to weeks) if you then Group this Group 1 (Weeks) into months then
you get Group 2 (which you can rename to months). You can then have one pivot
table showing the data by weeks and the other by months.

Alternatively, you can add an extra dummy column to the data for the second
pivot table that you create, and Excel will after a couple of actions treat
each table separately.

"billwoodard" wrote:

In Excel 2007 I have one data table, say Dates by Weight, and want to see and
save two pivot tables & charts, one grouped by weeks, the other by months. If
I simply change the date grouping in one table, the other table also changes.
I could create two separate data tables, but I'd like to be able to add new
data to only one table. How can I keep the groupings in the 2 pivot tables
distinct without losing the ability to update each of them when the main data
table is updated?

Thanks for any tips.


Perhaps I didn't make the situation clear. On a single worksheet I have a
small table consisting of two columns, Date & Sales. Each row is one
instance of a date with its sales. The data is in the form of an Excel 2007
"Table". With a cell in the table selected, I click on "Insert Pivot Table";
position it on the same worksheet as the data table; in the Pivot Table Field
List I check both Date and Sales; then select a Date cell, Rt.Click , Click
Group, and Group by weeks (7 days); thus giving me the 1st table I want and
from which I can obtain the chart I want.
But then I try to repeat the whole process, same worksheet, same sequence,
and I get a 2nd pivot table. And now when I group the dates by Months, the
1st pivot table suddenly changes to a monthly table as well & likewise a
chart associated with it. How do I keep these two pivot tables independent
of eachother??????

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default Pivot Tables with different groupings based on same data table

To make the PivotTable ranges dynamic again,
you can restore the source data to a Table,
and the two differently named ranges will become dynamic.
Just don't touch the "Change Data Source" button again.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distributing Pivot Tables where pivot table data can't be accessed Bendinblues Excel Discussion (Misc queries) 1 January 2nd 08 01:06 PM
Building pivot tables in Excel 2007 based on existing pivot tables? [email protected] Excel Discussion (Misc queries) 4 December 26th 07 08:05 PM
Pivot Table-two tables same data, can I used the same page control auntmarsa Excel Worksheet Functions 1 October 13th 07 09:11 PM
Pivot Table Data Adding contents of two pivot tables and param que Roundy Excel Discussion (Misc queries) 0 July 2nd 07 10:20 PM
pivot table groupings timmulla Excel Discussion (Misc queries) 0 April 17th 07 06:32 PM


All times are GMT +1. The time now is 05:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"