if, then statements and alpha variables

  • Thread starter Thread starter jfav
  • Start date Start date
J

jfav

I want to have Excel return 1 if the value is e and -1 if the value is
w. I can do this with the logical IF statement if the variables are
numbers but it doesn't work if the variables are letters. any
suggestions?
 
Back
Top