Final answer:
The function that can be used to calculate the sum of values in a pivot table is =sum.
Step-by-step explanation:
The function that can be used to calculate the sum of values in a pivot table is =sum. The =sum function adds up the values of a range of cells. For example, if you have a pivot table with values in cells A1 to A10, you can use =sum(A1:A10) to calculate the sum of those values.