使用Xllookup公式的最小值和AVG值
我需要使用Xlookup()公式找到最小的分数,而老师是史密斯。
我尝试了min(),min(min(),small(),但没有' 我尝试了minifs()的工作
,它的工作正常,但无法使用Xlookup()进行操作。
I need to find min and average score using xlookup() formula where teacher is Smith.
I tried min(), min(), small() but didn't work
I tried minifs() and it is working perfectly fine but unable to do so with xlookup()
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Xlookup只会返回一个值。而是使用过滤器获取与标准匹配的每个值,然后将最大或最小施加到其中。
= filter(A2:A13,D2:D13 = A19)
其中A19包含教师的名称。然后只需将其包裹在您所需的功能中即可。= min(filter(A2:A13,D2:D13 = A19))
Xlookup will only return a single value. Use filter instead to get every value that matches the criteria then apply max or min to that.
=FILTER(A2:A13,D2:D13=A19)
where A19 contains the name of the teacher. Then simply wrap that in your desired function.=MIN(FILTER(A2:A13,D2:D13=A19))