[英]What is the syntax when including standard Google Sheets functions within the QUERY function?
我想在Google表格中使用LARGE函数引用查询查找中的单元格。 我尝试了以下代码的变体,但未成功:
=QUERY(C2:D49,"select C where D = "large(D2:D49,2)"")
这使我想知道使用标准函数在查询中引用单元格值的规则是什么。
语法为:
=QUERY(C2:D49, "select C where D = "&LARGE(D2:D49, 2), 0)
查询字符串是纯字符串。 只要结果字符串是有效查询,就没有特殊的规则适用。 适用于电子表格中字符串的标准规则也适用于查询字符串。 您正在寻找这种情况下的字符串连接:
="Maximum number of players allowed: "&large(D2:D49,1)
=JOIN(" ", "Maximum number of players allowed:", large(D2:D49,1))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.