I am creating a personality quiz where the result is based on how the learner answered the series of questions. I currently have each answer to add a value to the corresponding variable. I have a result layer tied to each variable (there are 4 different possibilities). Is there a way to show the layer that corresponds to the highest variable?

Hi, Megan -- I see that Wendy and Walt have stopped in to share some suggestions here to assist! If you are all set, please let us know, or if you would like additional assistance, maybe you could share your file so that others can offer more project-specific insights. :)

I just had a chance to test the variables and it worked great! I was able to avoid having 2 equal variables by having an odd number questions. It doesn't always work out but it gets the best results. Thank you for the help!

## 5 Replies

Hi Megan

without seeing the setup you could try this:

Show layer a when timeline starts on results slide on condition that variable=1

Show layer b when timeline starts on results slide on condition that variable=2

Show layer c when timeline starts on results slide on condition that variable=3

Show layer d when timeline starts on results slide on condition that variable=4

If you have 4 different variables (in this order):

Show layer 1

Show layer 2 if variable 2 is > variable 1

Show layer 3 if variable 3 is > variable 2

Show layer 4 if variable 4 is > variable 3

The problem I foresee is having 2 equal variables.

Hi, Megan -- I see that Wendy and Walt have stopped in to share some suggestions here to assist! If you are all set, please let us know, or if you would like additional assistance, maybe you could share your file so that others can offer more project-specific insights. :)

I just had a chance to test the variables and it worked great! I was able to avoid having 2 equal variables by having an odd number questions. It doesn't always work out but it gets the best results. Thank you for the help!

So glad to hear you are all set, and thanks for sharing what worked for you, Megan!