[Calculated Fields] how to Get Count Product more last month

nanuutm

New Member
Joined
Mar 16, 2016
Messages
27
i want to used [Calculated Fields] on Pivot table to show customer buy number of product compare last month

Ex

Month 1
Customer 1 Buy 4 Product A B C D
Customer 2 Buy 3 Product A B C
Customer 3 Buy 3 Product A B D

Month 2
Customer 1 Buy 4 Product A B C E
Customer 2 Buy 3 Product A B D
Customer 3 Buy 4 Product A B C D


In pivot Table i used [Count Distinct]

Result

Month12Grand Total
Customer 1444
Customer 2333
Customer 3344

<tbody>
</tbody>

I want to used [Calculated Fields] show like below

Month12Grand Total
Customer 1411
Customer 2311
Customer 3322

<tbody>
</tbody>


What should i Used Logic in Calculated Fields


Sorry about my English
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Watch MrExcel Video

Forum statistics

Threads
1,122,564
Messages
5,596,875
Members
414,106
Latest member
Tigretto

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