View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Rick Rothstein \(MVP - VB\)[_662_] Rick Rothstein \(MVP - VB\)[_662_] is offline
external usenet poster
 
Posts: 1
Default If part of a cell is true

Give this a try this...

=IF(ISNUMBER(--SUBSTITUTE(SUBSTITUTE(A1,"ERIC ",""),
" W-SETT","")),"Valid","Not Valid")

Rick


"Eric D" wrote in message
...
When using IF statements, is it possible to return a value if part of the
cell is true.

For example, in B1 there is "ERIC 12345 W-SETT"

I want it to recognize that "ERIC ##### W-SETT" is true. The numbers
change
from day to day, so i need it to just say as long as there are numbers
there
then its true.

Can anyone help?
--
Eric