options = ["Geographic", "Industry", "Resource", "Workforce"] dropOption = "In Development" if [m1].flat().filter( (v) -> options.includes v).length m1.filter (v) -> v != dropOption else "None"