Nested lists intersection

Hi,
I wanted to compare entries in list 1 with list2 based on index so that If both matches i will get the corresponding index element in list 3. for example : list1[0] (41600)element when matched with list2[0] it should return list2\3[0][3] & list2\3[0][5] ie the corresponding surface.

You just need AllIndicesOf, GetItemAtIndex, and a little list level magic. See how far that gets you.

1 Like

Hi nick thanks it is working for some items but for the 3 highlighted even though there are common items it is not displaying can you explain what will be the solution??

Get rid of the list level for item on AllIndicesOf. It already accepts a list. You’ll also need to adjust your list levels on GetItemAtIndex after that.

1 Like