Hi all,
i want to compare 3 string columns named source 1, source 2 and source 3 as below :

if at least one value from these 3 columns is different from the other ones, I want to create a column and mark it as "to be defined".
if all the values are the same (equals) I want to copy the value in the new column.
If a value is empty and the other ones are equal (line 4 for example) I want to copy the equal value to the new column.
finally, if all values are empty I want to mark it as "to be defined".
is it possible to do that dynamically ?
Thanks in advance