I need to create a formula that will show me the longest period that some employee has worked without interruption.
expected outpud is: - Agent1: - 21 days (10 shifts at 8h hours, 5 shifts of BO (ilness); 6 shifts of VK (weekend)
I need a formula or VBA (i cant use manual check because there is about 140 emplees that i should check :))