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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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