Branching based on answers to questions

We need a way to help a user know what training they need to take. I don't find a way to ask some questions and then do branching based on what they say. The best case would be to ask them about what chemicals they use in their lab and if they mark any of the hazardous ones we add them to a class. Does anyone see a way to do something like this? Thanks!