View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ryguy7272 ryguy7272 is offline
external usenet poster
 
Posts: 2,836
Default Finding subsequent matches

This function will look for a piece of text, in this case 'Ajit', in Col A,
and return all associated values in Col B.
=INDEX(B1:B100,MATCH(TRUE,EXACT(A1:A100,"Ajit"),0) )
When you enter the function, hot Ctrl + Shift + Enter, not just enter.

Regards,
Ryan---

--
RyGuy


"Jim Cone" wrote:

Keith,
Here is a different way to do it...
http://office.microsoft.com/en-us/ex...260381033.aspx
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Ker_01"
wrote in message
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