You will need to use nested IF statements:
See this discussion on nested IF statements - www.limesurvey.org/community/forums/can-...question-text#155058
See this discussion on nested IF statements - www.limesurvey.org/community/forums/can-...question-text#155058