Formula
Shilps,
=INDEX(A:A,MATCH("Yes",B:B,FALSE))
HTH,
Bernie
MS Excel MVP
"Shilps" wrote in message
...
Hi,
I have an excel sheet where column A is numbers and B is text.
Is there a formula I can use to search column B for a specific text
and then return the the number in column A?
Ie, I want to search in all of column B whether any of the cells says
'yes' for example and return the A cell besides it. So if cell B2 is
'yes' then I want to return cell A2.
Is there a way of doing this?
Many thanks.
Shilps
|