I have an Excel file with Zeros (0 = No) and Ones (1 = Yes) in columns L thru V. Depending on what their answers are in those columns, I want to put some text in column Z. For instance:
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
If all of those cells are 0, put “Beginner” in Z
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
would be “Learner” — all the way through:
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1
would be “Expert”.
I tried different variations of IF-THEN-ELSE and the SELECT CASE function but I can’t seem to get anything to work right. I know that I’m going to have to loop through the rows (there are about 500) but how do I tell Excel what I want?
Forgot to mention, data could also look like this
0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1
I’ve got about 50 different scenarios that show up.
You could concatenate the answers into a string and choose your output based on that.
Edit:
Depending on how complex your rules are, you may be better off using if-then-elseif-else, because then you can use the Like operator, which lets you use wildcards.