I have two sets of data I'm working with. Set #1 is as below, a "data" column with thousands of rows and multiple columns with one of 3 values, "yes," "no" or "-" as below:
| Data | column 1 | column 2 | column 3 | column 4 | column 5 | column 6 | column 7 | column 8 | column 9 | column 10 |
| aaa1 | yes | no | no | no | no | no | no | no | no | - |
| aaa2 | yes | - | yes | yes | yes | no | yes | yes | no | no |
| aaa3 | no | - | - | - | - | no | - | - | no | no |
| aaa4 | - | no | no | no | no | yes | no | no | yes | no |
| aaa5 | - | yes | yes | yes | no | - | yes | no | - | yes |
| aaa6 | no | - | - | - | - | no | - | - | no | yes |
| aaa7 | no | no | no | no | - | yes | no | - | yes | - |
| aaa8 | yes | yes | no | no | no | - | no | no | - | no |
| aaa9 | - | - | no | no | yes | no | no | yes | no | yes |
| aaa10 | no | no | yes | yes | - | no | yes | - | no | no |
| aaa11 | yes | no | - | yes | no | no | yes | no | no | - |
Set #2 is a simple key which will have the same column names and similar values as set#1 but with an added suffix after the yes/no value that will vary:
| column 1 | column 2 | column 3 | column 4 | column 5 | column 6 | column 7 | column 8 | column 9 | column 10 |
| yes ab | yes ba | yes aa | yes ab | yes ab | yes ab | yes ab | yes aa | yes ab | yes ab |
| no ab | no aa | no aa | no aa | no aa | no ab | no aa | no aa | no ab | no aa |
So if set #1 shows "yes" in column 1 this should convert to "yes ab" from set #2, and a "yes" in column 2 converts to "yes ba," and so on.
I need a conversion so that columns 1-10 in set #1 will show the values from columns 1-10 in set #2. I need this to be a robust flow because there are way more than 10 columns, data #2 will periodically update with new suffixes, and at times the data in set #1 may increase from "yes, no, -" to something like "yes, no, maybe, sometimes, often, rarely, -". Set #2 would update accordingly so the values would mirror set #1 but again with variable suffexes. Appreciate any help, thanks.