Hello Friends,
I have been going over code for the past week and have yet to get this, hoping that you could help.
I am looking for a formula that will:
1. Go through column A for duplicates.
2. If duplicate, then look to column B for a blank field.
3. If any of the duplicates in column B are blank, then delete entire A row for all duplicate numbers (or put a number in column c if that is easier then I can sort and delete)
So for example...
A B
3 Apples
4 Oranges
5 Bananas
3
6 Blueberries
For the example above, the formula would see that 3 is a duplicate in multiple spots, and seeing as in the 4th row there is a blank, it would delete both the first row that says Apples, AND the 4th row that has the blank field in B.
If the number 3 was duplicate in multiple spots, but there was never a blank spot in column B, then nothing would happen.
Does that make sense?
Thanks so much.
Philip
I have been going over code for the past week and have yet to get this, hoping that you could help.
I am looking for a formula that will:
1. Go through column A for duplicates.
2. If duplicate, then look to column B for a blank field.
3. If any of the duplicates in column B are blank, then delete entire A row for all duplicate numbers (or put a number in column c if that is easier then I can sort and delete)
So for example...
A B
3 Apples
4 Oranges
5 Bananas
3
6 Blueberries
For the example above, the formula would see that 3 is a duplicate in multiple spots, and seeing as in the 4th row there is a blank, it would delete both the first row that says Apples, AND the 4th row that has the blank field in B.
If the number 3 was duplicate in multiple spots, but there was never a blank spot in column B, then nothing would happen.
Does that make sense?
Thanks so much.
Philip