+ Reply to Thread
Results 1 to 4 of 4

getpivotdata with 2 variables

Hybrid View

  1. #1
    shereman
    Guest

    getpivotdata with 2 variables

    Hello,

    I have a pivot table with 2 variables, and 3 types of data into it. It looks
    like this
    Price
    Area sum of attendanceclassA
    sum of attendanceclassB
    sum of attendanceclassC

    What do I have to fill in as 'pivot table' when using the "getpivotdata"
    function? It clearly worked well when using just one attendanceclass. Then I
    filled in 'sum of attendanceclassA', but with 3 sorts of data in it, it
    doesn't.

    Thanks



  2. #2
    Debra Dalgleish
    Guest

    Re: getpivotdata with 2 variables

    In Excel 2002, you could use something like:

    =GETPIVOTDATA("Sum of attendanceclassB",$A$6,"Area","West",
    "Price","Low")

    shereman wrote:
    > Hello,
    >
    > I have a pivot table with 2 variables, and 3 types of data into it. It looks
    > like this
    > Price
    > Area sum of attendanceclassA
    > sum of attendanceclassB
    > sum of attendanceclassC
    >
    > What do I have to fill in as 'pivot table' when using the "getpivotdata"
    > function? It clearly worked well when using just one attendanceclass. Then I
    > filled in 'sum of attendanceclassA', but with 3 sorts of data in it, it
    > doesn't.
    >
    > Thanks
    >
    >



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


  3. #3
    shereman
    Guest

    Re: getpivotdata with 2 variables

    Debra,

    This doesn't solve my problem. I use the attendanceclass as a 3th variable.
    So, I have to pick up the right attendanceclass. I can not easily state that
    i work just with attadanceclassB. So, this must be an item-field combination.
    I think the problem is the definition of the 'pivot table'.

    Tx,

    shereman

    "Debra Dalgleish" wrote:

    > In Excel 2002, you could use something like:
    >
    > =GETPIVOTDATA("Sum of attendanceclassB",$A$6,"Area","West",
    > "Price","Low")
    >
    > shereman wrote:
    > > Hello,
    > >
    > > I have a pivot table with 2 variables, and 3 types of data into it. It looks
    > > like this
    > > Price
    > > Area sum of attendanceclassA
    > > sum of attendanceclassB
    > > sum of attendanceclassC
    > >
    > > What do I have to fill in as 'pivot table' when using the "getpivotdata"
    > > function? It clearly worked well when using just one attendanceclass. Then I
    > > filled in 'sum of attendanceclassA', but with 3 sorts of data in it, it
    > > doesn't.
    > >
    > > Thanks
    > >
    > >

    >
    >
    > --
    > Debra Dalgleish
    > Excel FAQ, Tips & Book List
    > http://www.contextures.com/tiptech.html
    >
    >


  4. #4
    Debra Dalgleish
    Guest

    Re: getpivotdata with 2 variables

    If you indicate which version of Excel you're using, and give an example
    of some data, and what you're tryng to extract, someone may be able to help.

    shereman wrote:
    > Debra,
    >
    > This doesn't solve my problem. I use the attendanceclass as a 3th variable.
    > So, I have to pick up the right attendanceclass. I can not easily state that
    > i work just with attadanceclassB. So, this must be an item-field combination.
    > I think the problem is the definition of the 'pivot table'.
    >
    > Tx,
    >
    > shereman
    >
    > "Debra Dalgleish" wrote:
    >
    >
    >>In Excel 2002, you could use something like:
    >>
    >> =GETPIVOTDATA("Sum of attendanceclassB",$A$6,"Area","West",
    >>"Price","Low")
    >>
    >>shereman wrote:
    >>
    >>>Hello,
    >>>
    >>>I have a pivot table with 2 variables, and 3 types of data into it. It looks
    >>>like this
    >>> Price
    >>>Area sum of attendanceclassA
    >>> sum of attendanceclassB
    >>> sum of attendanceclassC
    >>>
    >>>What do I have to fill in as 'pivot table' when using the "getpivotdata"
    >>>function? It clearly worked well when using just one attendanceclass. Then I
    >>>filled in 'sum of attendanceclassA', but with 3 sorts of data in it, it
    >>>doesn't.
    >>>
    >>>Thanks
    >>>
    >>>

    >>
    >>
    >>--
    >>Debra Dalgleish
    >>Excel FAQ, Tips & Book List
    >>http://www.contextures.com/tiptech.html
    >>
    >>

    >



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1