Hi,
I need to get the intersection of the values defined in two cells separated by new line

e.g.
Cell 1 contains
1
2
3
4

Cell 2 contains
2
6
7
3

I want result in 3rd cell as,
4
7

I have no clue how to do this. Intersection operator is not helping me.
Please help me.