Select different data column depending on the value of a variable

Hey bubblers!
I got a simple question for you (very complex for me).
This is the scenario:
I have a variable that can be modified with a button, the possible values of the variable are: A, B, C, D, E, etc…
The database has 8 categories in columns named Cat A, Cat B, Cat C, Cat D, etc… and one row per user.
Depending on the value of the variable, I would like to display the contents stored in the different columns for the specified user.
Example, if the variable is A, I would like to display the contents of column Cat A, if the value is B, the contents of Cat B, etc…
bubble

I tried using conditionals and making the text not visible when the variable is not selected. However, considering that so far I have 8 columns and inside each field I can put 10+ values, it gets very very long and not really efficient if I would like to add another category.

Any ideas or how would you approach this?