Solved

Dynamic Pivot table source data

Posted on 2015-01-20
4
80 Views
Last Modified: 2015-01-20
Hi,

I want to use a dynamic named range for a pivot table so that when I update the data I will not have to update the range.  
The current data range is 'Worksheet'!$A$1:$AC$74338, but this could of course change as more data is added or removed.

I appreciate the help,
Montrof
0
Comment
Question by:montrof
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:slubek
ID: 40560724
Create your range as a table and base your pivot on that table. Every change (insert/delete) in table rows will cause pivot recalculation.
0
 
LVL 1

Author Comment

by:montrof
ID: 40560729
would it not be better to use a dynamic range because on the data tabs there is some other stuff that could get affected if I make it a table
0
 
LVL 7

Accepted Solution

by:
slubek earned 500 total points
ID: 40560764
If the table is a problem, create dynamic named range, for example referring to something like
=OFFSET($A$1,0,0,COUNTA($AC:$AC),1)

Open in new window

and use that dnr as a source of your pivot.

I suggested table because it worked for me, and I've never tried to use dnr as a pivot's source. I'm not sure, but if calculations of COUNTA() are done every time you use that dnr, then (with so many rows that you have) it could lead to performance issues. You have to test it.
0
 
LVL 1

Author Closing Comment

by:montrof
ID: 40560769
Thanks I will play with both options.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now