Hi Mervyn
You can replace the direct row names in the GetPivotData formula, with the cell reference that contains the name. Then, as you copy down, the formula adjusts to suit the row name. The same applies to columns.
Take a look at the help on this function at http://www.contextures.com/xlPivot06.html
It just takes a little while to get used to tweaking the GetPivotData function, but it is far better than using direct cell references, as there is no guarantee that the references will remain th same after additions to the source data and a Refresh.
-- Regards Roger Govier
"Mervyn Thomas" <mervyn-thomas[ at ]ntlworld.com> wrote in message news:VZa0l.29017$Fx1.12417[ at ]newsfe30.ams2...
[Quoted Text] > I have some data in a pivot table which I want to use in a calculation but > when I try to key off a cell in the table the new cell is a calculation > ...GetPivotTable....... and it is impossible to drag this cell down to > other cells that correspond to other cells in the pivot table. > Am I explaining myself?? > Or: How do I refer to the contents of a cell in a pivot table? >
|