Combination of data

Hello, I need help.
I have to put options and depending of what the client choose, to show a “result”. For example, if somebody chooses his age and his height in the option sets and he press a button, i want his “perfect” weight to appears (I guess I have to introduce the results for all the possible combinations but i don’t know how.)

Is just an example to explain what i need, I hope somebody can help me. Thanks!!!

Have you considered NOT using option sets to accomplish this?

You could have fields in the User datatype for height and weight. Then the calculation is easy.

Alternatively, you can create datatypes for height and weight, then populate them and use a dropdown for the user to select their height/weight, and calculate from that. This would be much simpler than using option sets.