I am trying to find a way how to set all but one duplicate values in a column to zero without deleting the row. Below is a simplified example that displays the general idea. The column where the duplicate value needs to be set to zero is 'Total Amount' in case there is more than one entry for the same order.
Initial Data Structure
N Date Order Total Amount
1 31.12 10007 100,00
2 31.12 10007 100,00
Desired Data Structure
N Date Order Total Amount
1 31.12 10007 100,00
2 31.12 10007 0,00
I hope this is possible. I would highly appreciate your help!
Maxi