The CONCAT function automatically ignores empty cells.

The CONCAT function accepts multipleargumentscalled text1, text2, text3, etc.

up to 255 total.

Excel formula: Create email with display name

Arguments may be supplied as cell references, ranges, and hard-coded text strings.

Only the first argument is required, and values are concatenated in the order they appear.

To join many values with a common delimiter, see theTEXTJOIN function.

Excel formula: Join first and last name

TEXTJOIN can do everything CONCAT can do, but can also apply a delimiter and optionally ignore empty values.

Excel formula: Count paired items in listed combinations

Excel formula: Create email address from name

Excel CONCATENATE function

Excel TEXTJOIN function