Pivot Table Source Data Named Range

JoeExcelHelp
5StarLounger
Posts: 1180
Joined: 22 Jul 2013, 18:29

Pivot Table Source Data Named Range

Post by JoeExcelHelp »

I have 2 WB's (A, B)
WB-B contains a Named Range (Table1)
I would like to reference this Named Range as the source data for a Pivot Table in WB-A
Using Excel 2013

Thank You

User avatar
HansV
Administrator
Posts: 78868
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Pivot Table Source Data Named Range

Post by HansV »

Open both A and B.
Activate A.
Select the top left cell of where you want the pivot table to be.
On the Insert tab of the ribbon, click Pivot Table.
Click in the Table/Range box under "Select a table or range", then switch to B, and select the named range.
Click OK.
Proceed as usual.
Save and close B first, then A.
Best wishes,
Hans

JoeExcelHelp
5StarLounger
Posts: 1180
Joined: 22 Jul 2013, 18:29

Re: Pivot Table Source Data Named Range

Post by JoeExcelHelp »

Thanks Hans,
I'm trying this in 2010 at the moment
when I open the PivotTable Table/Range within WB A and then proceed to select the Named Range within WB B no data at all populates within the Table/Range bar
Is this a 2013 only feature?

User avatar
HansV
Administrator
Posts: 78868
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Pivot Table Source Data Named Range

Post by HansV »

Is it a 'static' named range, or a 'dynamic' named range (i.e. one that grows/shrinks automatically as data are added or deleted)?
Best wishes,
Hans

JoeExcelHelp
5StarLounger
Posts: 1180
Joined: 22 Jul 2013, 18:29

Re: Pivot Table Source Data Named Range

Post by JoeExcelHelp »

Statis, I simply highlight the range and name it

User avatar
HansV
Administrator
Posts: 78868
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Pivot Table Source Data Named Range

Post by HansV »

Works for me in Excel 2010:

1) Insert Pivot Table dialog:
S243.png
2) Result:
S245.png
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

JoeExcelHelp
5StarLounger
Posts: 1180
Joined: 22 Jul 2013, 18:29

Re: Pivot Table Source Data Named Range

Post by JoeExcelHelp »

Really odd.. doesnt work for me just remains blank
However if I use a ramge within the same WB-A it captures the range no problem
Thanks Hans

User avatar
HansV
Administrator
Posts: 78868
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Pivot Table Source Data Named Range

Post by HansV »

Sorry, can't explain that. If you wish, you can attach a stripped down copy of the "source" workbook.
Best wishes,
Hans