Is there a way to compare data table with maps?

From this link, the user uses the key in map1 to compare with the key in map2 to obtain the corresponding value in map2.

Is there a way to compare the key or value in map1 with the value in map2 to obtain the corresponding key in map2? The reason why I need to do this way is that in map2, some keys will have the same value.

eg. of map2
( Key )----------- ( Value )
( Static Mesh1 ) --( 2 )
( Static Mesh2 ) --( 3 )
( Static Mesh3 ) --( 2 )

You can take all keys of Map2 (TMap.Keys) and iterate over them with a foreach loop with break. In the loop body, Find (TMap.Find) with the current key a value and compare it with your value of Map1. If they are the same, store the key in a variable and break the loop. now you know at which key of Map2, the value of Map1.key exists, too.

Thanks for your suggestion! As there are duplicated value in map2 which I would like to include, I think I will use For each loop instead.