View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Atif Atif is offline
external usenet poster
 
Posts: 27
Default Find and IF statement

Hi:

I am using following formula to search a string and display in target cell,
if first IF condition returns TRUE it displays BCOT, if not #value! error.
any help.

=IF(SEARCH("BCOT",A2)0,"BCOT",IF(SEARCH("BCPN",A2 )0,"BCPN",""))