View Single Post
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default

just add to the match to get the row and then use OFFSET or look in HELP for
INDEX.

--
Don Guillett
SalesAid Software

"Ken Schmidt" wrote in message
ink.net...
I have a set of data that alternates names and numbers within a row. For
example: Smith, 7, Jones, 5, Peters, 2, etc. I'm trying to pull out of
each row the name associated with a specified number. So if the specified
number is 2 in the example, I want the name Peters pulled out. The

numbers
are unique within each row, so there will be only one possible choice. I
got a partial solution using the formula =MATCH(2,J3:AA3,0). This returns
the position in the range where the number 2 is found. But I've been

unable
to display the name just before the 2 in the row. I tried OFFSET, but
couldn't get it to work right. I would appreciate any help. Using Excel

97.

Ken