Przykłady
Mamy następującą tabelę przestawną (o nazwie Tabela ocen studentów):
A
B
C
1
Imię i nazwisko
Przedmiot
Ocena (średnia)
2
Student 1
91
3
94
4
82,5
5
Łącznie student 1
89,17
6
Student 2
7
91,5
8
9
Łącznie student 2
92,33
10
Łączna suma
90,75
=WEŹDANETABELI(Tabela ocen studentów::$C$1;Tabela ocen studentów::$C$2), zwraca 90,75, średnia ocen dla studentów 1 oraz 2.
=WEŹDANETABELI(Tabela ocen studentów::$C$1;Tabela ocen studentów::$C$2; "Imię i nazwisko"; "Student 1"), zwraca w przybliżeniu 89,17, średnia ocen dla studenta 1.
=WEŹDANETABELI (Tabela ocen studentów::$C$1;Tabela ocen studentów::$C$2; "Imię i nazwisko"; "Student 2"; "Przedmiot"; 1) zwraca 94, średnia ocen uzyskanych przez studenta 2 w klasie 1.