谷歌表查询= true

时间:2020-08-10 02:28:53

标签: google-sheets google-sheets-formula google-sheets-query google-query-language

我正在尝试查询棒球逐场得分说明。我能够获取特定列的数据,但无法过滤“ isScoringPlay” = true。它在我的查询中变成空白。我的公式应该是:

=QUERY(filteredplaybyplay, "SELECT B, C, D, E, G, H WHERE H = 'true'",1)

这是我的range,然后是query

1 个答案:

答案 0 :(得分:-1)

尝试更短:

=QUERY(playbyplay, "select B,C,D,E,G,H where H is null", 1)

enter image description here

或适当的

=ARRAYFORMULA(QUERY(""&playbyplay, 
 "select Col2,Col3,Col4,Col5,Col7,Col8 where Col8 = 'true'", 1))

enter image description here