I am using xLookup to pull some data out of a pivot table. Currently my formulas look like this:
=XLOOKUP($A2,'RecT'!$A$5:$A$30,'RecT'!$C$5:$C$30,0)
But in my pivot table, column A is called Grade
and Column C is called Confirmed
. It would be much easier to read the formulas if the column header/name were used to refer to the data.
Is there some version of the formula that will look more like:
=XLOOKUP($A2,PIVOTTABLENAME[[#Values],["Grade"]],PIVOTTABLENAME[[#Values],["Confirmed"]])
(I made up that syntax - I know it doesn't work)