Formula
opts = ["Targets Set", "Committed"] if (m1 == "Yes") || [m2].flat().filter( (v) -> opts.includes v).length "Yes" else "No"
opts = ["Targets Set", "Committed"] if (m1 == "Yes") || [m2].flat().filter( (v) -> opts.includes v).length "Yes" else "No"