Hello everyone!
I am working with several columns and would like to test if, among those columns, for each lines, at least two values are equal. It is easy to test that for two columns by having a simple test but I have no clue with several columns.
For example, I want to test if among the columns "col1", "col2" and "col3", we do have at least twice the same value. In the first line, we have twice "a", second line, we have nothing, third line, we have twice "b" and fourth line, we have three times "a". How should I write the formula that corresponds to column "test"?
col1 col2 col3 test
a a b ok
a b c x
b c b ok
a a a ok
Thank you very much!!
Bookmarks