Příklady
Máme následující kontingenční tabulku (s názvem Prospěch studentů):
A
B
C
1
Jméno
Třída
Prospěch (průměrný)
2
Student 1
91
3
94
4
82,5
5
Student 1 celkově
89,17
6
Student 2
7
91,5
8
9
Student 2 celkově
92,33
10
Celkový součet
90,75
=GETPIVOTDATA(Prospěch studentů::$C$1;Prospěch studentů::$C$2) vrátí 90,75, což je průměrný prospěch studenta 1 a studenta 2.
=GETPIVOTDATA(Prospěch studentů::$C$1;Prospěch studentů::$C$2; "Jméno“; "Student 1") vrátí přibližně 89,17, což je průměrný prospěch studenta 1.
=GETPIVOTDATA(Prospěch studentů::$C$1;Prospěch studentů::$C$2; "Jméno“; "Student 2“; "Třída“; 1) vrátí 94, což je průměrný prospěch studenta 2 ve třídě 1.