A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello sandisamixture
Thank you for posting in Microsoft Community.
It seems like you wanted to know the difference between Excel and Google sheets pivot table calculated field. Let’s work together in finding the best resolution to this issue.
The difference in the results you’re seeing is due to how Excel and Google Sheets handle calculated fields in pivot tables.
In Excel, when you create a calculated field, the individual amounts in the other fields are summed, and then the calculation is performed on the total amount. This means that Excel is actually calculating =(SUM('Box Office Revenue ($)')/COUNT('Box Office Revenue ($)')) - (SUM('Budget ($)')/COUNT('Budget ($)')), which might not give you the expected result.
On the other hand, Google Sheets performs the calculation on each row first, and then averages those results. This means that Google Sheets is calculating the average of ('Box Office Revenue ($)' - 'Budget ($)') for each row, which is what you intended.
To get the same result in Excel as in Google Sheets, you could add a new column to your original data with the formula ='Box Office Revenue ($)' - 'Budget ($)', and then take the average of this new column in your pivot table.
We look forward to your next response.
Regards,
Jason Guer
Microsoft Community Moderator