$iif($5=a,$6-,$7-)This is not going to work without a space between $5, the equals sign and the letter a.