Table:
0
A
B
C
D
E
F
1
claim id
policy id
date claim made
date claim settled
amount claimed
amount settled
2
143
744
3/11/2017
11/3/2017
43884
1085
3
423
552
8/12/2016
1/27/2018
79134
1724
4
442
473
2/24/2017
1/21/2018
70088
1189
5
486
141
6/14/2018
12/20/2017
69696
1638
6
546
744
5/3/2017
12/22/2017
46479
1091
7
563
141
8/2/2016
9/4/2017
41078
1570
8
569
473
7/15/2018
11/19/2017
49743
930
9
571
858
8/3/2017
2/18/2018
89632
1528
10
621
744
12/18/2016
1/11/2018
43708
1652
11
761
473
8/26/2016
9/4/2017
83703
1372
12
801
738
10/21/2017
1/5/2018
3326
1353
13
843
143
10/14/2017
2/20/2018
10209
1639
14
935
143
7/13/2018
11/22/2017
70674
1637
15
957
352
11/8/2018
9/15/2017
38280
1050
16
965
119
7/17/2017
3/9/2018
35824
1636

Questions and formulas:
Question: what is the claim with the largest claim amount?
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A16,SUMX(E2:E16)), 2, -1), 1)
Level: hard
Question: Find the settlement amount of the claim with the largest claim amount. Show both the settlement amount and claim amount.
Formula: LET(a,SORTBY(CHOOSE({1,2},F1,E1),E1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(CHOOSE({1,2},F2:F16,E2:E16),E2:E16,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: what is the amount claimed in the claim with the least amount settled?
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1),SUMX(F1)), 3, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A16,SUMX(E2:E16),SUMX(F2:F16)), 3, 1), 1)
Level: hard
Question: Find the total claimed amount of all the claims.
Formula: SUM(E1)
Formula2: SUM(E2:E16)
Level: easy
Question: What is total amount claimed summed across all the claims?
Formula: SUM(E1)
Formula2: SUM(E2:E16)
Level: easy
Question: the claim id with the greatest claim amount.
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A16,SUMX(E2:E16)), 2, -1), 1)
Level: hard