Replacing a string list by elements matching element name

I have two lists:

List 1: string representations of elements ( element names ).

List 2: elements.

So list 3 should be the result of comparing each string from list 1 with the name of each element in list 2. which results in NULL or an element.

I’ve tried using the ReplaceByCondition but it just copies List 2 into List 1.

List

Try Transpose. First create a combined list with index 0 and index 1 then apply List.Transpose.