1] Your formula:@Belleke , are you on version 365?
Maybe this?
=INDEX($A$2:$A$7;AGGREGATE(15;6;(ROW($E$2:$E$7)-1)*(SEARCH($E$2:$E$7;E11)^0);1))
But something weird happens for the second example. I have 2 hits in the list. I did not anticipate it and I need to go now.
1] It is the original lookup range:@Belleke , are you on version 365?
Maybe this?
=INDEX($A$2:$A$7;AGGREGATE(15;6;(ROW($E$2:$E$7)-1)*(SEARCH($E$2:$E$7;E11)^0);1))
But something weird happens for the second example. I have 2 hits in the list. I did not anticipate it and I need to go now.
That's what I meant in # 4 and #6, but had to leave work, and had no time to think further. But you did, @bosco_yip ;-)1] It is the original lookup range:
View attachment 86632
2] If the row 3 and row 4 exchange the order, and become>>
View attachment 86633
Then, your above formula will give wrong result
Regards
Bosco