Group:  Microsoft Excel ยป microsoft.public.excel.setup
Thread: How to Use pivot tables in a calculation

Geek News

How to Use pivot tables in a calculation
"Mervyn Thomas" <mervyn-thomas[ at ]ntlworld.com> 12/11/2008 4:12:35 PM
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?


Re: How to Use pivot tables in a calculation
Max 12/12/2008 8:31:04 AM
Manually type a simple link formula
which points to the top left cell within the pivot, eg: =B5
Then you can copy it across/down as required

Debra explains how to switch the feature off here:
http://www.contextures.com/xlPivot06.html
Excel -- Pivot Tables -- GetPivotData
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:365 Subscribers:65
xdemechanik
---
"Mervyn Thomas" wrote:
[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?

Re: How to Use pivot tables in a calculation
"Roger Govier" <roger[ at ]technology4unospamdotcodotuk> 12/14/2008 11:21:30 AM
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?
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net