Calculated field and pivot table

Gigiwan

New Member
Joined
Mar 31, 2021
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
Hi
I'm trying to do some basic math within this sample pivot table yet i can't get it done via calculated field since there's a header above the data , how do i remove that to calculate (may - April) and so on?
pivot.jpg
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Alex Blakenburg

Well-known Member
Joined
Feb 23, 2021
Messages
560
Office Version
  1. 365
Platform
  1. Windows
Having your dates down the sheet in a single column is good design.
What you need to know though, is that a column is considered a field and data in the same column are considered items.
So what you are trying to do can be found in calculated items.

If you are using using 2 or more columns for a calculation you use calculated fields.

Just keep in mind that there are some Date Grouping features built in, so if your 2 months aggregation are the 1st 2 months of a Quarter, you can use the inbuilt Quarter settings.
 
Solution

Gigiwan

New Member
Joined
Mar 31, 2021
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
Thanks that explained everything i wanted. and i learned accouple of things today. :)
 

Watch MrExcel Video

Forum statistics

Threads
1,129,373
Messages
5,635,884
Members
416,886
Latest member
coreyalaurence37

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
Top