I have attached a mockup of the below requirement. I hope someone can assist!
I need to be notified (in column G and H) when there is a second and third occurrence of the same team (located in row J and K). A notification of the value 2 for the second occurrence, 3 for the third.
The following condition must also be met, i.e. values in rows of columns B,C,D,E,F must be equal.
In the mockup you will see that all values from B5-F5 down to B18-F18 are equal. So, within this range, you can check from J5-J18 and K5-K18 how many times a team exists. You need to check both J and K for the same team and must start at J5-J18 followed by K5-K18.
For example J5 = Reading. By checking J5-J18 Reading only exists once. But checking also K5-K18, you will find Reading in K18. So, I would like you to place a 2 in H18. Same applies for other teams in J and K. Any second, third, fourth occurrence found “in” column J should have the notification in column G on the row the occurrence was found. Any second, third, fourth occurrence found “in” column K should have the notification in column H on the row the occurrence was found.
Note I used fill colour in the mockup to highlight the some examples. Colour is not a requirement.
Also note that the real excel I need to run this in has close to 700k rows of data.
Thank you
Bookmarks