Numbers- Percentages in Pivot Table
I want a Pivot Table to calculate some percentage from two different columns. Example:
I want to calculate Field Goal Percentage per game and total (sports spreadsheet). I already have the data by game, and a pivot table sure helps to organize it by player. So, let's say Player 1 has played 2 games, made 10 of 10 in the first game and 2 of 5 in the second. (I also already have a column in the spreadsheet that calculates the players' FG% by game). The issue is that my Pivot Table calculates the total FG% wrong. Next data shows columns Game, Field Goals Made, Field Goals Attempted and Field Goal %:
Game FGM FGA %
1 10 10 100
2 2 5 40
Total 12 15 70
And the TOTAL row, generated automatically by the Pivot Table is where everything goes wrong. You see, Numbers Pivot Table adds game 1 and game 2, so FGM=12 (10+2), FGA=15 (10+5), and (here is the error) %=70 ((100+40)/2)
The problem is that 12 of 15 is really 80, not 70
SO.... I need a way for a Pivot table to summarize the % total by disregarding the average of individual game percentages. I want that percentage by dividing Total FGA and Total FGM.
Is there any way to do this in a Pivot Table?
Thanks
MacBook Pro 15″, macOS 10.13