PC Review


Reply
Thread Tools Rate Thread

Adaptable pivot tables

 
 
Allenx
Guest
Posts: n/a
 
      15th Oct 2007
What is a general technique for handling the follow situation? I use pivot
tables and pivot charts to analyze a dataset. Each week, the dataset's
record count increases (thus the rows the pivot table uses expands).

> I want to avoid manually re-building the pivot table and pivot charts each
> week and would like the pivot table's range to expand automatically to
> include all records.


> It appears using named ranges in the pivot table definition is not
> allowed. Also, I want to avoid using macros if possible.



 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZSBILg==?=
Guest
Posts: n/a
 
      16th Oct 2007
What if you just made your dataset range in the pivot table way greater than
the size of the actual data and then adjust the pivot table results to
exclude the blank rows.

For example, if your pivottable is for data on rows 1 - 1000, make the
pivottable range refer to rows 1-50000. Then just suppress the viewing of
the blank rows.

"Allenx" wrote:

> What is a general technique for handling the follow situation? I use pivot
> tables and pivot charts to analyze a dataset. Each week, the dataset's
> record count increases (thus the rows the pivot table uses expands).
>
> > I want to avoid manually re-building the pivot table and pivot charts each
> > week and would like the pivot table's range to expand automatically to
> > include all records.

>
> > It appears using named ranges in the pivot table definition is not
> > allowed. Also, I want to avoid using macros if possible.

>
>
>

 
Reply With Quote
 
Toyin.Butler@googlemail.com
Guest
Posts: n/a
 
      16th Oct 2007
Personally I like dynamic named ranges. Name a Range via the Name
Manager (2007) or Insert - Name (pre 2007)

In the Refers To box insert the following

=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),COUNTA(Sheet1!$1:$1))

This counts the number of values/text in the first column and the top
row and expands or contracts with the size of your range.

Reference your pivottable to this named range and all you will need to
do is refresh it.

Toy.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building pivot tables in Excel 2007 based on existing pivot tables? jj.jigga.johns@gmail.com Microsoft Excel Misc 4 26th Dec 2007 08:05 PM
Adaptable Pivot Tables Allenx Microsoft Excel Discussion 1 16th Oct 2007 08:16 PM
Adaptable pivot table ranges Allenx Microsoft Excel Programming 3 12th Oct 2007 09:49 PM
(Tom?) Pivot tables, code to refer to all pivot tables on template =?Utf-8?B?a2x5c2VsbA==?= Microsoft Excel Programming 0 20th Jul 2007 09:32 PM
Pivot tables-controlling user interaction with pivot tables Sindhura Microsoft Excel Programming 0 27th Aug 2003 02:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:15 PM.