Hi, I’d appreciate help to calculate a tourism streak or longest streak of different events done before one is repeated. I'm using Office 365 on a Windows PC.
In the example below I have entered events done and the order they were done in plus a third column with my manual entry of the count from the start of that streak until it is broken that I would like to replace with a formula. Once this calculation is automated I will be able to look up 6 as the max value.
Please note that the longest overall streak is 9 between repeats of Event A, but in the interim there were two visits to Event E that cuts short the streak to 6.
Any help greatly appreciated, although I’ve not used VBA before so I’m hoping for a formula-based solution if at all possible.
Thanks,
Paul.
In the example below I have entered events done and the order they were done in plus a third column with my manual entry of the count from the start of that streak until it is broken that I would like to replace with a formula. Once this calculation is automated I will be able to look up 6 as the max value.
Please note that the longest overall streak is 9 between repeats of Event A, but in the interim there were two visits to Event E that cuts short the streak to 6.
Any help greatly appreciated, although I’ve not used VBA before so I’m hoping for a formula-based solution if at all possible.
Thanks,
Paul.