reference entire worksheet for pivot table

Nlreid

New Member
Joined
Jul 21, 2010
Messages
7
Hi,

I'm trying to work on a few pivot tables where the data is continually refreshed when it is pulled in from our database. Each pivot table uses a different worksheet- one of which is titled "DF_Matching"

I want the pivot table to use the entire database, but because the number of records in the worksheet changes, I can't use a static reference.

So, currently the pivot table data source is "DF_MATCHING!$A$1:$R$72" but there are now 135 rows. I don't want to change it to "DF_MATCHING!$A$1:$R$135" because the next time it is refreshed, there will be more than 135 rows.

Is there a way to reference the entire sheet, or do I have to put in a large number to ensure that it catches the whole worksheet? And if I do have to put in something like "DF_MATCHING!$A$1:$R$1000", will the extra rows affect the numbers in my pivot table?

Thanks!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,215,045
Messages
6,122,836
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top