I have a range of values and empty cells A2:F15
I whant to concatinate only non empty cells usign a single formula Arrayformula
,
CodePudding user response:
use query smash:
=INDEX(REGEXREPLACE(TRIM(FLATTEN(QUERY(TRANSPOSE(IF(A2:F="",,A2:F&",")),,9^9))), ",$", ))