Tripleseas
Board Regular
- Joined
- Jul 12, 2022
- Messages
- 87
- Office Version
- 2013
- Platform
- Windows
Hello community,
I have a data set of sales transactions for each year as shown ine the table below :
I want to calculate the variation for each product. I have created a pivot table but i can't add a calculated field for this variation because i have just one column ( number of transactions )
so i added the variation manually outside of the pivot table but that's not ideal for me. is there any solution to this please.
in the calculated field ideally i will have : = number of transaction in the year 2022 - number of transactions in the year 2021.
hope i was clear thank you
I have a data set of sales transactions for each year as shown ine the table below :
I want to calculate the variation for each product. I have created a pivot table but i can't add a calculated field for this variation because i have just one column ( number of transactions )
so i added the variation manually outside of the pivot table but that's not ideal for me. is there any solution to this please.
in the calculated field ideally i will have : = number of transaction in the year 2022 - number of transactions in the year 2021.
hope i was clear thank you
Classeur1 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | year | mois | PRODUITS | Code | Agence | Number of transaction | Volume of transactions | ||||
2 | 2021 | January | X1 | 1001 | X22 | 4 | 8230,54 | ||||
3 | 2022 | January | X1 | 1001 | X22 | 1 | 251,12 | ||||
4 | 2021 | January | X1 | 1001 | X22 | 2 | 7065,95 | ||||
5 | 2022 | January | X1 | 1001 | X22 | 0 | 0 | ||||
6 | 2021 | January | X1 | 1002 | X22 | 3 | 5025,62 | ||||
7 | 2022 | January | X1 | 1002 | X22 | 0 | 0 | ||||
8 | 2021 | February | X1 | 1002 | X22 | 3 | 1522,28 | ||||
9 | 2022 | February | X1 | 1002 | X22 | 0 | 0 | ||||
10 | 2021 | February | X2 | 1002 | X22 | 2 | 4307,4 | ||||
11 | 2022 | February | X2 | 1002 | X33 | 0 | 0 | ||||
12 | 2021 | February | X2 | 1002 | X33 | 5 | 13396,13 | ||||
13 | 2022 | February | X2 | 1003 | X33 | 0 | 0 | ||||
14 | 2021 | February | X2 | 1003 | X33 | 6 | 18784,29 | ||||
15 | 2022 | February | X2 | 1003 | X33 | 0 | 0 | ||||
16 | 2021 | February | X2 | 1003 | X33 | 4 | 5486,89 | ||||
17 | |||||||||||
18 | |||||||||||
19 | |||||||||||
20 | year | Valeurs | |||||||||
21 | 2021 | 2022 | |||||||||
22 | Code | Agence | Somme de Number of transaction | Somme de Volume of transactions | Somme de Number of transaction | Somme de Volume of transactions | Variation Number | Variation volume | |||
23 | 1001 | X22 | 6 | 15296,49 | 1 | 251,12 | -5 | -15045,37 | |||
24 | 1002 | X22 | 8 | 10855,3 | 0 | 0 | -8 | -10855,3 | |||
25 | X33 | 5 | 13396,13 | 0 | 0 | -5 | -13396,13 | ||||
26 | 1003 | X33 | 10 | 24271,18 | 0 | 0 | -10 | -24271,18 | |||
Feuil1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H23:I26 | H23 | =F23-D23 |