Hello all!
I am looking for a code or formula to delete the entire row if it meets the following conditions... I would like the entire row deleted if "Column B" is the first instance (by column A) and it correlates to an "N" in "Column C". I would also like every row that contains the same number in "Column A" as the one that was deleted to be deleted. I know that this is confusing, so I will explain my example sheet below...
I would want everything that is highlighted in the example to have the whole row deleted.
1234 should be deleted because the first instance of it has an "N" in Column C.
1245 should be deleted because the first instance of it has an "N" in Column C.
1356 should NOT be deleted because the first instance of it does not have an "N" in Column C.
1589 and 1679 should be deleted because the first instance of them have an "N" in Column C.
Note: Column B does not have to be "1" to be deleted, but rather the first number of the set.
I am looking for a code or formula to delete the entire row if it meets the following conditions... I would like the entire row deleted if "Column B" is the first instance (by column A) and it correlates to an "N" in "Column C". I would also like every row that contains the same number in "Column A" as the one that was deleted to be deleted. I know that this is confusing, so I will explain my example sheet below...
I would want everything that is highlighted in the example to have the whole row deleted.
1234 should be deleted because the first instance of it has an "N" in Column C.
1245 should be deleted because the first instance of it has an "N" in Column C.
1356 should NOT be deleted because the first instance of it does not have an "N" in Column C.
1589 and 1679 should be deleted because the first instance of them have an "N" in Column C.
Note: Column B does not have to be "1" to be deleted, but rather the first number of the set.