9.3 Judge duplication of row-based data - by whole row

 

Here below is a personnel data table:

imagepng

Judge whether there are duplicate whole-row data, if so, fill in 1 in corresponding Dup field, otherwise fill in 0. Calculate in the cell E1:

A
1 =E(‘A1:D7’).derive(:Dup)
2 =A1.group(ID,Name,Gender,Birthday).run(a=if(~.len()>1,1,0),~.run(Dup=a))
3 return A1.new(Dup)

imagepng