View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Todd Lietha Todd Lietha is offline
external usenet poster
 
Posts: 15
Default find and return adjacent value (redux)!

I posted this earlier, but missed a key element in the example.

How would I do the following using a formula:

Find the row that contains value X, then in that row find the cell that
contains value Y, then return the value to the immediate right?

Example:
111 AAA Todd 2 Tim 4
222 ABB Tony 6 Todd 5
333 BBB Tim 8 Sue 3 Jim 7
x=222, y=Tony, returned value = 6
x=111 y=Tim, returned value = 4
x=333 y=Jim, returned value = 7

Thanks in advance!