VLOOKUP instead of GETPIVOT

scottleger4

New Member
Joined
Oct 3, 2016
Messages
41
Office Version
  1. 365
Platform
  1. Windows
Good morning,

I have a rather large data source file with a large pivot table. In another file, I need to pull several pieces of information in order for a macro to work. The problem I am having is that the volume of GETPIVOT formulas I currently have are really bogging everything down. The solution I have in mind is to "transfer" the appropraite cut of the data I need into my second file and do VLOOKUPs instead.

I'm running into a problem though. I'm trying to get to a sum of the number of units in an area, but the data behind the pivot has the number of units further broken down to individual locations, which I don't need and would render my VLOOKUP useless as it would only find whatever the first entry in the list is. If my Pivot Table looks like...

Country
....Region
......Area
..........Unit 1 - 6
..........Unit 2 - 10
..........Unit 3 - 21

...is there a way to get this in a list so that I have individual columns...

Country Region Area Unit 1 6
Country Region Area Unit 2 10
Country Region Area Unit 3 21

...from this I could create a unique identifier and do what I need to do. I thought if I double clicked the Totals at the bottom of the Pivot Table it would do what I wanted, except it threw in all the other data fields too. For example...

Country Region Area District Branch 1 Unit 1 2
Country Region Area District Branch 2 Unit 1 1
Country Region Area District Branch 3 Unit 1 1
Country Region Area District Branch 4 Unit 1 2

Would appreciate any ideas you have. Thanks in advance.
 

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.
Sorry, I might be confused here, but if your version of Excel is 2010+ I think you can achieve what you're looking for by changing a few settings on your pivot.


Select pivot table, then click on Ribon:
Design --> Report Lay Out --> Show in tabular format
Design --> Report Lay Out --> Repeat All item labels
Design --> Subtotals --> Do not show subtotals
 
Last edited:
Upvote 0
It wasn't exactly what I was asking, but the end result of what you suggested is actually going to work a LOT better. Thanks SO MUCH! This board always comes through for me!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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