Need Assistance with Implementing Skip Logic and Random Selection Based on a Calculated Field in XLSForm

Welcome to the community, @kujtak!

Regarding query 1:

This post discussed previously should help you solve your issue:

Regarding query 2:

This post discussed previously should help you solve your issue: