Choose output of a new column based on name of the column
I have column names with student names and the class/es that they’ve attended:
Name, Class A1, Class A2, Class A3, Class A, Class B
Where not every Class column has an input. On my script, how can I create a new column where it will only choose the output where:
If a student attended all “A” Classes, the output is from column Class A.
If a student attended Class A1 through A2 or A3, the output is from...