Thread: Formula
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Shilps[_3_] Shilps[_3_] is offline
external usenet poster
 
Posts: 2
Default Formula

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