Is it possible to use a conditional formatting formula to highlight cells if the following 2 conditions are met:
1. A value is duplicated in one column, and
2. the corresponding cells for the duplicates in another column are not blank (do not need to be equal)
For instance, I have 2 columns: Name and Food. If "John" is listed twice in the "Name" column, and there are values of "apple" and "banana" in the "Food" column, I want them highlighted. I don't care that the food values are different. All I care about is that John is listed twice and has 2 values in the food column.
If on the other hand, Mary is listed twice, but one of the cells in the Food column is blank for her, I don't want those cells highlighted.
John --> apple
Mary --> orange
John --> banana
Mary --> (blank)
1. A value is duplicated in one column, and
2. the corresponding cells for the duplicates in another column are not blank (do not need to be equal)
For instance, I have 2 columns: Name and Food. If "John" is listed twice in the "Name" column, and there are values of "apple" and "banana" in the "Food" column, I want them highlighted. I don't care that the food values are different. All I care about is that John is listed twice and has 2 values in the food column.
If on the other hand, Mary is listed twice, but one of the cells in the Food column is blank for her, I don't want those cells highlighted.
John --> apple
Mary --> orange
John --> banana
Mary --> (blank)