Substract based on row and column label

Cferron

New Member
Joined
May 20, 2011
Messages
44
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
I have to table that I have to substract value from base on a row / column label to create another table.

I'm basically merging (calculating) two pivot tables
N4 cell value should be: =(B6-B18)*M3
But sometimes pivot table are changing depending on source data. I would like formula in 3rd table to "detect" that.


What function / formula can be made to achieve that?

1654872771162.png


Thanks!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
You should be able to do that with a GetPivot formula.
If you click in N4 then type equals (=) > Then click on B6 > type minus (-) > then click on B18 > hit enter
If you get the GetPivot formulas then show us what you get by clicking on the XLS button and posting in the formula.
 
Upvote 0
Yes! I was trying to do it with Excel365 online but the GetPivot formula wasn't automatically writing itself. I have tried in normal Excel desktop app and the formula "populated itself in the cell. This makes it a lot more easier to use this function. I should be able to go from there.

Thanks for looking into this.

Claude
 
Upvote 0
No problem. Come back to us if you need help converting the GetPivot formulas to using cell references.
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,232
Members
449,092
Latest member
SCleaveland

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