View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JustinD[_2_] JustinD[_2_] is offline
external usenet poster
 
Posts: 2
Default IF Statement with text

I am trying to create an if statment where if the last two characters in a
cell are A1 or A2, "Y" appears in another cell. I've tried a couple of
formulas and nothing seems to be working.

=IF(OR($I5="*A1",$I5="*A2"),"Y"," ")

=IF($I5="*A1", IF($I5="*A2), "Y", " ")

Any suggestions?