hello guys , i have a data that include this columns , and i want to know the lowest and highest sale for city 1 in these 5 month , that's mean formula must sum the sale of city 1 for 5 month Individually and show the lowest sale
Book1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | month | city code | sale | city code | The lowest amount of total sales in these 5 months (minimum) | The highest amount of total sales in these 5 months (maximum) | ||||
2 | 2021-01 | 1 | 15,526,870 | 1 | ||||||
3 | 2021-01 | 1 | 21,578,633 | 2 | ||||||
4 | 2021-01 | 1 | 3,337,780 | 3 | ||||||
5 | 2021-01 | 2 | 1,897,163 | |||||||
6 | 2021-01 | 3 | 14,323,674 | |||||||
7 | 2021-01 | 3 | 15,268,137 | |||||||
8 | 2021-02 | 1 | 54,982,451 | |||||||
9 | 2021-02 | 1 | 12,425,854 | |||||||
10 | 2021-02 | 2 | 12,432,354 | |||||||
11 | 2021-02 | 2 | 7,812,365 | |||||||
12 | 2021-03 | 2 | 951,327 | |||||||
13 | 2021-03 | 2 | 1,500,369 | |||||||
14 | 2021-03 | 3 | 1,946,358 | |||||||
15 | 2021-03 | 3 | 21,499,128 | |||||||
16 | 2021-03 | 3 | 4,551,746 | |||||||
17 | 2021-03 | 3 | 35,896,412 | |||||||
18 | 2021-04 | 1 | 4,000,365 | |||||||
19 | 2021-04 | 1 | 1,500,000 | |||||||
20 | 2021-04 | 1 | 2,500,005 | |||||||
21 | 2021-04 | 1 | 3,125,844 | |||||||
22 | 2021-05 | 1 | 1,000,000 | |||||||
23 | 2021-05 | 1 | 2,000,000 | |||||||
24 | 2021-05 | 2 | 5,648,565 | |||||||
25 | 2021-05 | 2 | 3,669,540 | |||||||
26 | 2021-05 | 2 | 15,268,700 | |||||||
27 | 2021-05 | 2 | 15,264,471 | |||||||
28 | 2021-05 | 2 | 13,543,658 | |||||||
29 | 2021-05 | 3 | 13,131,239 | |||||||
30 | 2021-05 | 3 | 25,688,845 | |||||||
Sheet1 |