Several variables in a condition

You are a genius! Thanks, I’ll try it later. )