I have two columns,
A B
2001 2003
2003 1999
1990 2001
1995 2010
2004 1996
I want to check if there are values similar between the two columns regardless of the rows and place it in a new column (SIMILAR)
This is the output that I would like to have
A B SIMILAR
2001 2003 2003
2003 1999 2001
1990 2001
1995 2010
2004 1996
Thank you