m3 = [m3].flat() answers = [] if (m1 == "Yes") || m3.includes("Hotline (direct employees)") answers.push "Yes - direct employees" if (m2 == "Yes") || m3.includes("Hotline (supply chain workers)") answers.push "Yes - supply chain workers" if answers.length answers else "No"