mackcracknsack

New Member
Joined
Dec 3, 2015
Messages
11
Hi,

I am looking to use a Index Match formula to look up data from a pivot table.
I have most of the formula complete but I cannot figure out how to implement a match to pull data from my rows of my pivot.

=INDEX('[2018 Pivot tables.xlsb]Pivot'!$C$11:$S$242,2,MATCH(B13,'[2018 Pivot tables.xlsb]Pivot'!$C:$S,0))

So, I am trying to replace the blue 2 in the above formula with a match, that will pull in the rows of my pivot as I drag my formula across different columns.

Any help greatly appreciated.

Thanks,
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
If you were trying to pull data from a pivot table why don't use GETPIVOTDATA. This solves silly things like you adding an extra filter causing your INDEX range to change, etc.
The function will most probably be more efficient than using INDEX.

If you share some sample data of the way your pivot looks and create a mockup of what you're trying to do with the INDEX function, we will be able to come up with answer as this general one.
Hope it helps you anyway.
 
Upvote 0
Thanks for the reply,

My source data / pivot looks something like below.
I want to pull this data into a large financial model, which also has some other data feeding from another source.
I want to update the model monthly and I want to just refresh my pivot which will also pull in new data from the pivot to the model.
I use the bold items as my lookups.


Source / Pivot

AccountSales TeamSegmentLedger CodeProduct LineClientAsset ClassCurrencyManagerDec2016Jan2017Feb2017Mar2017Apr2017
Sold DirectX Sales TeamAABC123InstoPAlternativeEuroF Mgr01002000758250
Sold DirectY Sales TeamBABC456InstoQBalancedUSDG Mgr250020025001500253
Sold DirectZ Sales TeamCABC456InstoRMarketCADH Mgr230030020003000253
Sold DirectA Sales TeamDABC123InstoSBalancedJPYI Mgr245840040001000253
Sold DirectB Sales TeamEABC123InstoTAlternativeEuroJ Mgr05004500400500

<tbody>
</tbody>


Above Pivot table data will feed into my below model, which I want to update each month with new data from the pivot table


Financial Model

AccountSold DirectSold DirectSold DirectSold DirectSold Direct
Sales TeamX Sales TeamY Sales TeamZ Sales TeamA Sales TeamB Sales Team
SegmentA BCDE
Product LineInstoInstoInstoInstoInsto
Asset ClassAlternativeBalancedMarketBalancedAlternative
TerritoryEuropeUSCanadaAsiaEurope
CurrencyEuroUSDCADJPYEuro
ManagerF MgrG MgrH MgrI MgrJ Mgr
DeskK DeskL DeskM DeskN DeskO Desk
Dec201602500230024580
Jan2017100200300400500
Feb201720002500200040004500
Mar2017758150030001000400
Apr2017250253253253500

<tbody>
</tbody>


Thanks
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,834
Members
449,192
Latest member
mcgeeaudrey

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