Google电子表格=查询 - 忽略单元为空的实体



我的启动表看起来与以下

相似
Person 1, 75
Person 2, 48 
Person 3,
Person 4, 82
Person 5,
Person 6, 93 
...

我现在尝试在以下查询中包括一个" wery"语句,以排除没有数值值的实体。这是我目前必须向我展示上述集合的最低值,并且它可以正常工作

=QUERY('DPS Transpose Tables'!D1:E29;"select D, max(E) group by D order by max(E) asc limit 5 label max(E)  ''";0)

如何添加有效的类似的东西

=QUERY('DPS Transpose Tables'!D1:E29;"select D  where (E<>"" OR Is not NULL), max(E) group by D order by max(E) asc limit 5 label max(E)  ''";0)

提前感谢一百万!

尝试'其中e> = 0'喜欢:

=QUERY('DPS Transpose Tables'!D1:E29,"select D, max(E) where E >=0 group by D order by max(E) asc limit 5 label max(E)  ''",0)

您也可以尝试'wery ness nes null'

有时我发现使用> = 0没有得到所需的结果

=QUERY('DPS Transpose Tables'!D1:E29,"select D, max(E) where E IS NOT NULL group by D order by max(E) asc limit 5 label max(E) ''",0)


使用与单'组合不等于和"空字符串"

其中e&lt;&gt;''

最新更新