我有一个查询,拉出并订购两列
=QUERY(Registration!$E$7:$F240, "Select E,F Order by F, E")
我希望在两者之前有一个自动列,数字增量 1,2,3 ....
这可能吗? 我可能只是没有找到适当的条款
试试这样:
={ARRAYFORMULA(ROW(INDIRECT("A1:A"&COUNTA( QUERY(Registration!$E$7:$F240, "select E Order by F"))))), QUERY(Registration!$E$7:$F240, "select E,F where E is not null order by F,E")}