Share via

How do I pull data from two Pivot Tables simultaneously and then perform a subtraction operation and get the result on any sheet?

Anonymous
2022-12-29T13:13:29+00:00

I have a Stock Transfer's report from which I have made a Pivot Table. The pivot table shows the grand total of all the Received Quantities.

I have a Delivery Report from which I have made a Pivot Table. The pivot table shows the grand total of all the Shipped Quantities.

Now, I want that I can get the Balance Quantities (i.e. Received Quantities - Shipped Quantities) a simple subtraction operation but the data has to be pulled from pivot tables.

Please guide me through the process. Many Thanks.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2022-12-29T15:13:44+00:00

Hi Basil,

Based on your description, you have two report and want to get the balance quantities.

Here is the result.

Steps:

1.get a list with unique value of stock (Table3)

2.Create data model and choose "table 3"

3.Create relationship for Table 1 and Table 2 with Table 3

4.Select the Sum of shipped quan and Sum of received quan

5.Choose the power povit add for excel add in from developer

6.Add Measures to power povit

Hope it helps. Let me know if you have any problem.

Best Regards,

Snow Lu

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rory Archibald 18,965 Reputation points Volunteer Moderator
    2022-12-29T15:22:17+00:00

    If you just want one grand total minus the other, use two GETPIVOTDATA formulas. They should auto-generate by default when you select the cells in question, unless you turned that option off.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments