View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
catefaulkes catefaulkes is offline
external usenet poster
 
Posts: 1
Default How can I test the text content of a cell

I wish to create a logical test - an IF statement that tests whether a cell
contains H, M or L, and output the result as a number.
I cannot get the IF statement to recognise text as true or false - my Excel
2007 gives an error when I try to do something like IF(E9=H ....) is there a
way to do this?