Cross-reference two trees of data for similar members

Hi All,

I am trying to cross-reference these data trees to find the occurrences of the words in list B with list A.

I need to be able to split list A into branches so that I can count how many duplicate items exist.

For example, the first item in list B branch {0;0} ‘DERRIDAIST’ occurs once in list A, the second item in list B ‘IDENTITY’ occurs in list A three times, etc.,

So I need to be able to break list A into branches so that I can count the instances of the words.

Have tried and thought of everything.

If I can get some help it I would be very grateful,

Thanks,

Arkadius

I guess you’re looking for MemberIndex component:


MemberIndex.gh (16.6 KB)

1 Like

@Mahdiyar Thanks mate! It works, here is how i branched them into their respective groups.

Great, you can also use RepeatData component like this:


RepeatData.gh (19.1 KB)