Hi all,
I am trying to find a macro that will find the same entries in Column A and for all of the duplicates except the first one change the value in column T to 0.
I don't want to remove the column because in column A I have the order number and in column T I have the total amount of cart. In many cases we get orders of different products with the same order number, and these unique values in the other columns are needed in my other calculations.
So I would like to change this:
OrderNumber TotalAmountofCart
100001 50
100002 40
100002 40
100003 50
100004 80
100004 80
100005 75
into:
OrderNumber TotalAmountofCart
100001 50
100002 40
100002 0
100003 50
100004 80
100004 0
100005 75
thanks for your help
I am trying to find a macro that will find the same entries in Column A and for all of the duplicates except the first one change the value in column T to 0.
I don't want to remove the column because in column A I have the order number and in column T I have the total amount of cart. In many cases we get orders of different products with the same order number, and these unique values in the other columns are needed in my other calculations.
So I would like to change this:
OrderNumber TotalAmountofCart
100001 50
100002 40
100002 40
100003 50
100004 80
100004 80
100005 75
into:
OrderNumber TotalAmountofCart
100001 50
100002 40
100002 0
100003 50
100004 80
100004 0
100005 75
thanks for your help