How could I highlight a duplicate part number within a time range, of the same date, or the next day.
1qwerty 2017-02-28
2qwerty 2017-02-26
3qwerty 2017-02-21
4qwerty 2017-02-21
4qwerty 2017-02-21
5qwerty 2017-02-21
2qwerty 2017-02-20
3qwerty 2017-02-20
5qwerty 2017-02-20
6qwerty 2017-02-19
So in this instance, the 5th, 8th and 9th line would be highlighted as these are within the same day or on the next day of the part number being searched for. I would need to create a loop that would do this for each line, potentially 100 rows.
Here is some more data, ive put in what works as being highlighted and where it has not worked as Should be higlighted, thanks
2017-02-27 1qwerty Highlighted
2017-02-27 2qwerty
2017-02-27 1qwerty
2017-02-27 3qwerty
2017-02-27 4qwerty
2017-02-27 5qwerty
2017-02-27 6qwerty
2017-02-24 5qwerty
2017-02-23 14qwerty
2017-02-23 15qwerty
2017-02-23 16qwerty
2017-02-23 14qwerty Highlighted
2017-02-22 17qwerty
2017-02-22 1qwerty
2017-02-21 14qwerty
2017-02-21 19qwerty
2017-02-20 6qwerty
2017-02-20 20qwerty
2017-02-20 21qwerty
2017-02-20 19qwerty Highlighted
2017-02-20 1qwerty
2017-02-17 5qwerty
2017-02-17 14qwerty
2017-02-17 1qwerty
2017-02-17 22qwerty
2017-02-17 23qwerty
2017-02-17 1qwerty Should be Highlighted
2017-02-17 19qwerty
2017-02-17 1qwerty Should be Highlighted
2017-02-16 24qwerty
2017-02-16 25qwerty
2017-02-16 26qwerty
2017-02-16 27qwerty
2017-02-16 28qwerty
2017-02-16 1qwerty
2017-02-16 24qwerty Highlighted
2017-02-16 29qwerty
2017-02-15 1qwerty
2017-02-07 6qwerty Should be Highlighted
2017-02-07 6qwerty
2017-02-07 30qwerty
2017-02-07 31qwerty
2017-02-07 19qwerty
2017-02-07 32qwerty
2017-02-06 6qwerty
2017-02-01 33qwerty
2017-02-01 33qwerty Should be Highlighted
2017-02-01 34qwerty
Any help is much appreciated as always!