View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
a m spock a m spock is offline
external usenet poster
 
Posts: 50
Default Conditional formula if content is text

many thanks. this is the simplest. can you suggest what to do for part 2 of
my question. if for example i have to match to a specific text say,
If(A1=Car,1,0)?

"FSt1" wrote:

hi
you might try...
formula is......=if(istext(a1),1,0)

regards
FSt1

"a m spock" wrote:

How do i write an IF statement which does Task A if contents of a certain
cell are a TEXT and Task B if it is a numerical value. e.g. If(A1=any
text,1,0) or If(a1=specific text,1,0)