Trying to created a Calculated Field in a Pivot Table

David_j78

New Member
Joined
Jun 18, 2021
Messages
12
Office Version
  1. 365
I have a pivot table that has two side-by-side columns that I have set to show the Min $ amount of their column in my data set. I want to created a calculated field in my pivot table that shows me a % difference between those 2 columns.

I first tried to use just =iferror(((Retail_Daily-Account_Dailyt)/Account_Daily),0), but this formula gave me the % difference of the sum total Retail Daily and Account Daily columns.
So then I tried =Iferror(((Min(Retail_Daily)-Min(Account_Daily))/Min(Account_Daily)),0), but still got the same return of the % difference as if my two columns were sum totals.

What am I missing?

1675798359199.png
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi,

To dive into the specifics, have a look at following link :
I know how to create a calculated field.
My problem is, that I am trying to created a calculated field that takes the Min of my Retail Daily column and subtracts the Min of my Account Daily column.
But no matter how I write out my calculated field formula, it doesn't take the Min of those columns. It's returning a value based on the sum of those columns.
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,017
Members
448,937
Latest member
BeerMan23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top