Remove duplicates in two columns and keep rest of all the column values

Hi,

Perhaps you should use Linq - GroupBY method. The following topic might help you.

If you can share your excel file, we might write expression for it.

Regards,