Trying to setup an automatic alternating function to alternate outputs

I conceptually split the logic between the progression of events and the alternation between outputs. The alternates are swapped in the IF clause that deals with the <20% condition.

Of course I may not have properly understood your project description.

My aim was to see how simply it could be coded, and if I've missed something I suspect a small tweak would solve the problem.

...R