我有一个数据集
> A b c d...AA,BB
>1,2,3,4
> apple apple apple
> orange pear pear apple pear
> grapefruit,grape, grape,grape
Run Code Online (Sandbox Code Playgroud)
有没有办法通过Excel中的公式自动找到数组中特定水果的最终出现?
您需要使用它counta来告诉您数组中有多少项并index获取最后一个元素的值.
你可以试试
=INDEX(1:1,0,COUNTA(1:1))
这将找到1:1数组中的最后一个值.