View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
abcd[_2_] abcd[_2_] is offline
external usenet poster
 
Posts: 52
Default Vary formula based on what another cell contains

the operator is "Like"

* = none or many characters
? = exactly one char

"toto" Like "*ot*" is true

find more details in the vba help, but the idea is to use
T$ Like "*wanted*"

and this will be true since wanted is include in T