Match items to branch

I am trying to match item from list A to branch of list B to get list C. Please help

graft both lists

I found the solution but its lengthy one using member index … if you have short definition please let me know. Also trying to extract items from same length in branch

you have two identical values, so you can’t Member index that “safely”

please post your grasshopper file with a bit of more explanation if possible :slight_smile: