Update VLOOKUP result each time the pivot table is changed

Herminne

New Member
Joined
Apr 27, 2020
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
Hi everyone,

my VLOOKUP formula in the Sheet1 is getting the value from the pivot table in the other sheet. The slicers from pivot table are located in the Sheet1. I'd like the content of the cell with the VLOOKUP formula to change each time the pivot table displaying different value (for instance, when the slicer with the employee name is selected)

do you know the way how to do it?

My formula: =IF(ISNA((VLOOKUP(M3,Sheet5!$A:$C,3,0))),0,(VLOOKUP(M3,Sheet5!$A:$C,3,0)))

Many thanks in advance!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Can you share a picture (including rows and columns references) or in XL2BB please
 
Upvote 0
Hi everyone,

my VLOOKUP formula in the Sheet1 is getting the value from the pivot table in the other sheet. The slicers from pivot table are located in the Sheet1. I'd like the content of the cell with the VLOOKUP formula to change each time the pivot table displaying different value (for instance, when the slicer with the employee name is selected)

do you know the way how to do it?

My formula: =IF(ISNA((VLOOKUP(M3,Sheet5!$A:$C,3,0))),0,(VLOOKUP(M3,Sheet5!$A:$C,3,0)))

Many thanks in advance!
Hermine,
TBH it is difficult to understand but I can guess that the Column number is changing no? That means in your example that the 3 is changing...
So, make a variable out of it using a COL function
Hope it helps
 
Upvote 0
Thank you everyone, the issue was that Calculation Option for the formula was set to manual, that's why it didn't work
 
Upvote 0

Forum statistics

Threads
1,223,632
Messages
6,173,472
Members
452,516
Latest member
archcalx

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