Hi Alex,
Having the Random Parameter set to Generate on Array Y Row linked to the Selector Operator with the Index exported will do the trick. To shift these randomly, you can use the X Fixed Translation value generated for each Array Y Row in a similar way. Attaching a sample scene. Hope you'll find it useful.
Best regards,