Hi, and welcome!
A reproducible example, called a reprex is needed to see how your data is organized. From the description (multiple variables in a single column) you could have some reorganization to do, unless you mean multiple values of a column containing a variable.
Also, if applicable, see the homework policy.