Table:
0
A
B
C
D
E
F
G
H
1
Name
Ticker
Price/Earnings Trailing
Price/Earnings Forward
Price/Sales
Price/Book TTM
% Dividend Yield TTM
% Forward Dividend Yield
2
Kinder Morgan Inc P
KMI
60.64
27.86
3.15
1.21
2.64
2.64
3
TransCanada Corp
TRP
119.13
22.08
3.7
2.74
3.69
3.87
4
Williams Companies Inc
WMB
0
27.78
2.88
2.87
4.62
4.14
5
Pembina Pipeline Corp
PBA
34.92
26.18
3.74
2.57
4.45
4.63
6
Enbridge Inc
ENB
49.06
24.51
1.44
1.67
4.33
4.64
7
Magellan Midstream Partners LP
MMP
19.98
19.16
7.03
7.73
4.68
4.82
8
ONEOK Inc
OKE
29.76
25.84
1.07
44.25
4.99
4.99
9
Enterprise Products Partners LP
EPD
22.01
18.59
2.27
2.59
6.09
6.2
10
ONEOK Partners LP
OKS
21.31
19.12
1.42
2.34
6.52
6.52
11
MPLX LP Partnership Units
MPLX
63.69
28.49
4.18
1.32
6.3
6.53
12
Spectra Energy Partners LP
SEP
15.31
12.3
4.97
1.11
6.46
6.63
13
Energy Transfer Equity LP
ETE
20.73
10.95
0.45
16.19
6.72
6.72
14
Williams Partners LP
WPZ
51.86
22.68
4.9
1.64
8.07
8.07
15
Plains All American Pipeline LP
PAA
28.14
16.53
0.64
1.82
8.95
8.38
16
Energy Transfer Partners LP
ETP
0
25.58
0.71
2.98
12.17
9.84
17
Peer Mean
31.98
20.36
1.8
2.38
5.8
5.75

Questions and formulas:
Question: The tickers with the max price/sales ratio > 0.45 and the min price/earnings forward >= 16.53.
Formula: LET(query1,SUMMARIZE(B1,MINX(D1),MAXX(E1)),FILTER(query1,(CHOOSECOLS(query1,3)>0.45)*(CHOOSECOLS(query1,2)>=16.53)))
Formula2: LET(query1,SUMMARIZE(B2:B17,MINX(D2:D17),MAXX(E2:E17)),FILTER(query1,(CHOOSECOLS(query1,3)>0.45)*(CHOOSECOLS(query1,2)>=16.53)))
Level: hard
Question: Tickers with max Price/Book TTM >= 1.82 and median Price/Earnings Forward > 19.16
Formula: LET(query1,SUMMARIZE(B1,MAXX(F1),MEDIANX(D1)),FILTER(query1,(CHOOSECOLS(query1,2)>=1.82)*(CHOOSECOLS(query1,3)>19.16)))
Formula2: LET(query1,SUMMARIZE(B2:B17,MAXX(F2:F17),MEDIANX(D2:D17)),FILTER(query1,(CHOOSECOLS(query1,2)>=1.82)*(CHOOSECOLS(query1,3)>19.16)))
Level: hard
Question: Names with min Price/Sales = 4.97 and corresponding median Price/Book TTM
Formula: LET(query1,SUMMARIZE(A1,MINX(E1),MEDIANX(F1)),FILTER(query1,CHOOSECOLS(query1,2)=4.97))
Formula2: LET(query1,SUMMARIZE(A2:A17,MINX(E2:E17),MEDIANX(F2:F17)),FILTER(query1,CHOOSECOLS(query1,2)=4.97))
Level: hard
Question: The table when the Price/Sales is between 1.44 and 4.9.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,(E1>=1.44)*(E1<=4.9)),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H17,(E2:E17>=1.44)*(E2:E17<=4.9)),5))
Level: medium
Question: Table of ticker starting with "abcde".
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,LEFT(B1,LEN("abcde"))="abcde"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H17,LEFT(B2:B17,LEN("abcde"))="abcde"),2))
Level: hard
Question: Table where Price/Book TTM is < 2.98 and ticker is 'MPLX'.
Formula: FILTER(A1:H1, (F1<2.98)*(B1="MPLX"))
Formula2: FILTER(A2:H17, (F2:F17<2.98)*(B2:B17="MPLX"))
Level: easy
Question: Table where ticker is MMP or EPD.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,(B1="MMP")+(B1="EPD")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H17,(B2:B17="MMP")+(B2:B17="EPD")),2))
Level: medium
Question: Table where Price/Book TTM = 2.74 and Price/Earnings Trailing is 63.69.
Formula: FILTER(A1:H1, (F1=2.74)*(C1=63.69))
Formula2: FILTER(A2:H17, (F2:F17=2.74)*(C2:C17=63.69))
Level: easy
Question: Table where price/earnings trailing is > 20.73.
Formula: FILTER(A1:H1, C1>20.73)
Formula2: FILTER(A2:H17, C2:C17>20.73)
Level: easy
Question: Table of ticker which starts with "abcde".
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,LEFT(B1,LEN("abcde"))="abcde"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H17,LEFT(B2:B17,LEN("abcde"))="abcde"),2))
Level: hard
Question: highest price/book TTM ratio ticker
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(F1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B17,SUMX(F2:F17)), 2, -1), 1)
Level: hard
Question: Ticker with the highest price/book TTM ratio.
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(F1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B17,SUMX(F2:F17)), 2, -1), 1)
Level: hard
Question: Three lowest price/sale tickers
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(E1)), 2, 1), 3)
Formula2: TAKE(SORT(SUMMARIZE(B2:B17,SUMX(E2:E17)), 2, 1), 3)
Level: hard
Question: Three tickers with the lowest price/sales.
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(E1)), 2, 1), 3)
Formula2: TAKE(SORT(SUMMARIZE(B2:B17,SUMX(E2:E17)), 2, 1), 3)
Level: hard
Question: highest price/earnings trailing company?
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(C1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A17,SUMX(C2:C17)), 2, -1), 1)
Level: hard
Question: which company has the highest price/earnings trailing?
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(C1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A17,SUMX(C2:C17)), 2, -1), 1)
Level: hard
Question: 2 highest price/earnings forward companies
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(D1)), 2, -1), 2)
Formula2: TAKE(SORT(SUMMARIZE(A2:A17,SUMX(D2:D17)), 2, -1), 2)
Level: hard
Question: Companies having 2 highest price/earnings forwards.
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(D1)), 2, -1), 2)
Formula2: TAKE(SORT(SUMMARIZE(A2:A17,SUMX(D2:D17)), 2, -1), 2)
Level: hard
Question: 2 lowest price/sales ratio companies
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1)), 2, 1), 2)
Formula2: TAKE(SORT(SUMMARIZE(A2:A17,SUMX(E2:E17)), 2, 1), 2)
Level: hard
Question: Companies having 2 lowest price/sales ratios.
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1)), 2, 1), 2)
Formula2: TAKE(SORT(SUMMARIZE(A2:A17,SUMX(E2:E17)), 2, 1), 2)
Level: hard
Question: How many tickers in the table?
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B17))
Level: easy