Return value of the cell to the right...

  • Thread starter Thread starter zangief
  • Start date Start date
Z

zangief

I have been using the function

=IF(COUNTIF(H:H,"Rory")>0,I21,"")

It will return the value of cell of I21 if the name "Rory" is in column
H. I need to know if I can so that instead of returning I21, it can
return the value of the cell to the right of the cell that "Rory" is
in.

Thanks if you can help.
 
Note you have to define a row range to find rory in

=offset(i1,match("Rory",H1:h10000,0)-1,0)

I assume you are looking for content in column
 
it doesn't seem to be working

I think the offset function is what I need thoug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top