我试图在没有数组方法的列中找到特定项的最后记录位置。

Org
---
Exim
Exim
Agrani
BCBL
Rupali
DSE
NCC
NRBCB
UTTARA
Exim
Rupali
BDBL
BCBL使用下面的数组公式,我可以得到它。是否有任何非数组公式得到了同样的结果?我知道excel的最新版本有几种选择,但我的限制仅限于Excel-2007。
=LARGE(IF(B3:B15=D5,ROW(B3:B15)-ROW(B2),""),1)发布于 2018-03-27 06:58:31
试试看
'for xl2007 as standard formula
=MAX(INDEX(ROW(1:13)-(B3:B15<>D5)*1E+99, , ))
'for xl2007 as array formula with CSE
=large(if(b3:b15=d5, row(1:13)), 1)
'for xl2010 and later as standard formula
=aggregate(14, 6, row(1:13)/(b3:b15=d5), 1)

https://stackoverflow.com/questions/49505886
复制相似问题