Comma separator
=TEXTJOIN(", ",TRUE,A2:C2)Joins address or category parts with commas.
Join names, labels or address parts while skipping empty cells.
Join names, labels or address parts while skipping empty cells. Use =TEXTJOIN(" ",TRUE,A2:C2), then replace the sample ranges with the columns in your sheet.
TEXTJOIN inserts a separator and ignores blank cells when the second argument is TRUE.
| A | B | C | |
|---|---|---|---|
| 1 | First | Middle | Last |
| 2 | |||
| 3 | |||
| 4 |
=TEXTJOIN(", ",TRUE,A2:C2)Joins address or category parts with commas.
=A2&" "&B2Best for two required cells.
=ARRAYFORMULA(IF(A2:A="","",A2:A&" "&C2:C))Fills the result column automatically.
Use TEXTJOIN with ignore_empty set to TRUE.
Wrap numeric pieces in TEXT with the desired format.
Use TEXTJOIN with ignore_empty set to TRUE.
Wrap numeric pieces in TEXT with the desired format.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.