首页 > 解决方案 > 当我按 asc 排序时,我的查询仅显示第一行数据,但当我按 desc 过滤时,它可以正常工作

问题描述

正如您在 K 列中看到的那样

当我按 desc 过滤时,它会显示所有数据。有什么我想念的吗?

标签: google-sheets

解决方案


利用:

=QUERY(dependentdata1, 
 "where X is not null 
  order by X asc 
  limit "&K2, 1)

推荐阅读