View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default =OFFSET(MATCH(My frustration continues!))

Try

=LOOKUP(2,1/(B1:B10=somevalue),A1:A10)

Mike

"Confused" wrote:

I have text/data in cells (A1:B10)
B1 and B10 have the same data, with different corresponding entries in
Column A.

In C1 I have the formula
=OFFSET(A1:B6,MATCH(Sheet1!B1,OFFSET(A1:B6,0,1,ROW S(A1:B6),1),0)-1,0,1,1)
which gives me the data in A1, but....

what I want is to be able to look up the 2nd occurence (B10) and get the
corresponding data in A10.