LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default Need a pivot table subset of a pivot table (slicer doesn't work)

Hi,

I know there is a plethora of pivot table and index/match posts, and I
feel I've gotten close to resolving my issue, but no dice so far. I've
got a workbook that is connected to an external dataset. The workbook
is just a pivot table that pulls data from the external dataset. It
shows sales counts for all countries worldwide for all or selected
years. The pivot table is looking at a specific product, with
countries vertically in column B, and the years horizontally in row 4,
and of course with the data counts in the adjacent cells.

I have a second worksheet that has a specific subset of countries for
which I need to return the data from the main pivot table.

I first tried a vba solution with a slicer, programming all the
countries in the subset, but the macro bugged out if it encountered a
country in the subset that wasn't in the main pivot table for the
given device.

I do have a 'GETPIVOTDATA' formula working, and the only problem with
that is it doesn't account for the dynamically expanding/contracting
years that appear in the pivot table.

I also looked at an Index/Match function, but I need the INDEX part to
be a lookup of the year on the second sheet to the year in the main
pivot table.

In a nutshell, it seems I'm trying to overcomplicate this. Any
thoughts on how best/easiest to make a second pivot table that looks
at a subset of countries?

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table doesn't display all data Gator Excel Discussion (Misc queries) 1 July 3rd 08 03:38 AM
Code that will rerun or refresh a pivot table (after new data ispasted into the original Pivot Table's Source Range) Mike C[_5_] Excel Programming 3 February 15th 08 06:22 AM
"Show Field List" in Pivot Table Toolbar doesn't work Flyer27 Excel Discussion (Misc queries) 0 April 12th 06 12:05 AM
keyboard shortcut doesn't work on data area of pivot table TrevorM Excel Discussion (Misc queries) 0 February 24th 06 11:48 AM
pivot table doesn't work jrh Excel Programming 1 March 2nd 04 02:29 PM


All times are GMT +1. The time now is 07:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"