Table:
0
A
B
C
D
E
F
1
product id
supplier id
date supplied from
date supplied to
total amount purchased
total value purchased
2
4
3
6/19/2017 0:49
3/24/2018 19:29
89366.05
36014.6
3
8
4
7/2/2017 0:35
3/25/2018 7:30
25085.57
36274.56
4
3
3
10/14/2017 19:15
3/24/2018 2:29
15752.45
7273.74
5
7
1
8/22/2017 0:58
3/24/2018 2:38
22332.08
8042.78
6
15
4
12/8/2017 9:14
3/24/2018 23:03
25318.21
29836.26
7
11
1
12/1/2017 19:46
3/24/2018 5:22
35149.74
67216.31
8
11
3
7/13/2017 15:02
3/24/2018 23:01
31862.59
76992.42
9
5
2
7/28/2017 19:23
3/24/2018 9:17
85922.86
82524.95
10
6
2
12/20/2017 7:07
3/24/2018 23:25
64444.18
97371.12
11
4
1
9/19/2017 2:14
3/25/2018 9:15
32881.38
29987.71
12
15
2
8/7/2017 12:08
3/23/2018 19:21
13712.91
48100.23
13
4
4
6/9/2017 1:30
3/24/2018 12:35
79316.31
98086.8
14
8
2
6/25/2017 14:59
3/24/2018 12:27
83873.58
99049.01
15
7
4
11/17/2017 8:23
3/25/2018 12:03
20689.78
61800.95
16
14
1
8/9/2017 21:26
3/24/2018 18:16
20447.99
27257.6

Questions and formulas:
Question: The total purchased amount and value on average for supplier supplying most products.
Formula: TAKE(SORT(SUMMARIZE(B1,AVERAGEX(E1),AVERAGEX(F1),SUMX(A1)), 4, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,AVERAGEX(E2:E16),AVERAGEX(F2:F16),SUMX(A2:A16)), 4, -1), 1)
Level: hard
Question: average total amount purchased and total value purchased of the supplier with the most products.
Formula: TAKE(SORT(SUMMARIZE(B1,AVERAGEX(E1),AVERAGEX(F1),SUMX(A1)), 4, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,AVERAGEX(E2:E16),AVERAGEX(F2:F16),SUMX(A2:A16)), 4, -1), 1)
Level: hard
Question: the respective average total amount purchased and total value purchased of the supplier with the most products.
Formula: TAKE(SORT(SUMMARIZE(B1,AVERAGEX(E1),AVERAGEX(F1),SUMX(A1)), 4, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,AVERAGEX(E2:E16),AVERAGEX(F2:F16),SUMX(A2:A16)), 4, -1), 1)
Level: hard