Finding subsequent matches
Consider using a helper column. Say B11 contains:
Beta
and B16 thru.... contains:
Alpha
Beta
Chi
Delta
Epsilon
Beta
Gamma
Beta
Kappa
Lambda
Mu
Name
Beta
Omega
Omicron
Phi
Pi
Psi
Beta
Sigma
Tau
Theta
Upsilon
Xi
Zeta
Then in C16, enter:
=IF($B$11=B16,ROW(),"") and copy on down
in an unused cell:
=SMALL(C$16:C$40,ROWS($A$1:A1)) and copy down to see:
17
21
23
28
34
--
Gary''s Student - gsnu2007g
"Ker_01" wrote:
Right now I'm finding the row of my first match with the following formula.
=MATCH($B$11,$B$16:$B$10024,FALSE)+15
However, with new data coming in, there may be more than one match that I
need to know about. I'd like to use multiple cells to capture the row number
of each subsequent match. My current approach is something like
[A1]
=MATCH($B$11,$B$16:$B$10024,FALSE)+15
[A2]
=indirect("MATCH($B$11,$B$" & A1 & ":$B$10024,FALSE)+15")
[A3]
=indirect("MATCH($B$11,$B$" & A2 & ":$B$10024,FALSE)+15")
Is there a more elegant way to find subsequent matches, rather than just
doing a new match based on resetting the start of the match range?
Thanks,
Keith
|