Hi everyone!
I’m stuck with an idea where I want to make a script that calculates what “worker-number” an employee has at a given date.
First some information…
Let’s say the workernumbers change in this sequence: 5, 7, 3, 8, 6, 3, 2, 1.
For example on 5th of november:
Worker1 has 5
Worker2 has 7
Worker3 has 3
On 6th of november:
Worker1 has 7
Worker2 has 3
Worker3 has 8
How can I write a script that calculates this automatically based on a “startdate” where I know what number every worker has?
Please feel free to ask questions if you don’t understand what I mean… it’s a bit tricky to explain, but I think I got it right