Pivot talbes issue and vlookup

james rockford

Active Member
Joined
May 27, 2004
Messages
250
Hi to all,

I have set up a pivot table... the data will change daily and as we know we can just refresh the data ...but i am pulling data from the pivot table to a new work book and i am looking for a way that when the table changes the info on the vlookup changes alone with the data...I.E If the pivot table changes from three rows to four then i will need the vlookup to change to return the info on the four row as well if the table get large or smaller the vlookup auto correct ....hope this is clear and thanks for the help
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi, Jim

Instead of a pivot table, what about a query table? Its fixed set up of columns overcomes the flexibility of the pivot table upsetting your lookup type formulas. If given a defined name, it will adjust automatically on refreshing so 'downstream' formulas will be good. Create via menu path ALT-D-D-N: is similar to pivot table in that needs refreshing (which can be automated, btw, via the query tables' properties).

HTH
 
Upvote 0
Instead of VLOOKUP you could try GETPIVOTDATA, assuming that's what you are trying to do - get pivot data.
 
Upvote 0
Hi Norie...That work get thanks for the help
Fazza ....I will work on your info and see what workes the best again thanks for all the help

James
 
Upvote 0
Another thought, James - might be better than a query table. Have a second pivot table set up exactly as required to suit the way you pull the data from it. The worksheet containing this second pivot table can be hidden so that users don't change the set up.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,875
Members
452,949
Latest member
Dupuhini

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