Home » excel » How to get last record position without array formula in Excel-2007 based on condition?

How to get last record position without array formula in Excel-2007 based on condition?

Posted by: admin May 14, 2020 Leave a comment

Questions:

I am trying to find last record position of particular item in a column without array approach.
enter image description here

Org
---
Exim
Exim
Agrani
BCBL
Rupali
DSE
NCC
NRBCB
UTTARA
Exim
Rupali
BDBL
BCBL

With the following array formula I can get it. Is there any non array formula got achieve same? I know several option is available on excel latest versions but my limitation is only on Excel-2007.

=LARGE(IF(B3:B15=D5,ROW(B3:B15)-ROW(B2),""),1)
How to&Answers:

Try,

'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)

enter image description here