Skip to main content
added 409 characters in body
Source Link
Blindspots
  • 8k
  • 5
  • 21
  • 42

Use TEXTJOIN instead of JOIN

TryTEXTJOIN* TEXTJOIN(unlike JOIN) can skip blank values by setting its ignore_empty argument to TRUE or 1:

=textjoin(" vs ", 1, C10:C14) =textjoin(" vs ", TRUE, C10:C14) 

The second parameter is set to 1 indicating that empty cells should be ignored. Zero will include those empty cells.  


* When TEXTJOIN's ignore_empty argument is 0 (or FALSE) it behaves the same as JOIN.

Try TEXTJOIN:

=textjoin(" vs ",1,C10:C14) 

The second parameter is set to 1 indicating that empty cells should be ignored. Zero will include those empty cells.

Use TEXTJOIN instead of JOIN

TEXTJOIN* (unlike JOIN) can skip blank values by setting its ignore_empty argument to TRUE or 1:

=textjoin(" vs ", 1, C10:C14) =textjoin(" vs ", TRUE, C10:C14) 

 


* When TEXTJOIN's ignore_empty argument is 0 (or FALSE) it behaves the same as JOIN.

Added a little more context to explain the second parameter.
Source Link

Try TEXTJOIN:

=textjoin(" vs ",1,C10:C14) 

The second parameter is set to 1 indicating that empty cells should be ignored. Zero will include those empty cells.

Try TEXTJOIN:

=textjoin(" vs ",1,C10:C14) 

Try TEXTJOIN:

=textjoin(" vs ",1,C10:C14) 

The second parameter is set to 1 indicating that empty cells should be ignored. Zero will include those empty cells.

Source Link
pnuts
  • 18k
  • 5
  • 55
  • 104

Try TEXTJOIN:

=textjoin(" vs ",1,C10:C14)