Multiple State IF

This post may be helpful as well...