Hi,
I have a series of items in different rows and what I need to do is sort them so that there are no duplicates.
So for example:
items origin
row 1 apples france
row 2 pears italy
row 3 bananas costa rica
row 4 pears italy
I need a macro that looks at first item in column and looks if this is repeated in any other row below. If it is repeated it should delete the row which is a duplicate. It should then move to next row and do the same for next item so that in the end all rows will have unique items.
Let's suppose I have four rows range A3:C6
How do I do a macro that leaves rows below?
row 1 apples france
row 2 pears italy
row 3 bananas costa rica
Thanks
I have a series of items in different rows and what I need to do is sort them so that there are no duplicates.
So for example:
items origin
row 1 apples france
row 2 pears italy
row 3 bananas costa rica
row 4 pears italy
I need a macro that looks at first item in column and looks if this is repeated in any other row below. If it is repeated it should delete the row which is a duplicate. It should then move to next row and do the same for next item so that in the end all rows will have unique items.
Let's suppose I have four rows range A3:C6
How do I do a macro that leaves rows below?
row 1 apples france
row 2 pears italy
row 3 bananas costa rica
Thanks