Hello everyone,
I want to reorder a list based on a criteria of another list.
Basically i have 2 lists containing repeated names(Shown as letters in this example) and language, which results for example in these two lists:
In this example both lists have the same amount of names in the same order but this might change for example list 2 might have different names or different values
List a Language List b Language
a zh a zh
a zh a zh
b zh b zh
b zh c zh
c zh c zh
c zh c zh
d zh d zh
d zh d zh
e zh e zh
e zh f zh
f zh f zh
f zh g zh
g zh g zh
g zh g zh
h en h en
h en i en
i en i en
i en j en
j en j en
j en k en
k en k en
k en k en
I then want to create a third list referencing the second list, with these following criteria:
-The names in list 3 cant be on the same row as list one, so for example if in the first row of the list we have name = "a", then in list 3 we can have anything but a in the row.
-The opposite for the language, as they have to be the same language.
So list 2 to be reordered, where names are not on the same row, but have the same language..
I really hope yall can help!
Bookmarks