与Excel的AGGREGAT公式等效的Google表格

时间:2019-05-02 11:11:22

标签: google-sheets google-sheets-formula

我正在使用Google表格,我需要在表格中实现以下excel公式。

https://docs.google.com/spreadsheets/d/1XzAYEezt2gNt_tdbxyZT-p6XwjNdhvUbt_9rBoABlhI/edit?usp=sharing

 =IFERROR(INDEX(Formularantworten!B:B;AGGREGAT(15;6;ROW(Formularantworten!$B$2:$B$100)/(Formularantworten!$B$2:$B$100<>"")/(Formularantworten!$H$2:$H$100<>"");ROW(A1)));"")

1 个答案:

答案 0 :(得分:0)

如果您想匹配两列并索引第三列,找到第一个匹配项,则可以在Aggregate出现之前在Excel中执行以前的操作:

=index(C:C,match(1,(A:A<>"")*(B:B<>""),0))

=index(C:C,min(if((A:A<>"")*(B:B<>""),row(A:A))))

但是在Google表格中,您有更多选择,并且更有可能使用类似

=query(A:C,"select C where A is not null and B is not null limit 1")