Hello,
Welcome to Microsoft Community.
I am a Microsoft user just like you, I hope you are doing well?
The TEXTJOIN function concatenates multiple values together with or without a delimiter. TEXTJOIN can concatenate values provided as cell references, ranges, or constants, and can optionally ignore empty cells.
The TEXTJOIN function takes three required arguments: delimiter, ignore_empty, and text1. Delimiter is the text to use between values that are concatenated together and should be enclosed in double-quotes (""), for example, a space (" ") or a comma with a space (", "). To use no delimiter, supply an empty string (""). Ignore_empty is a Boolean (TRUE/FALSE) value that controls whether empty values should be ignored or added to the result. This is often set to TRUE to avoid delimiters with no content in the result from TEXTJOIN. Text1 is the first value to join together. This can be a cell reference, a range, or a hard-coded text value. Subsequent optional arguments, text2, text3, text4, etc. can be provided up to 252 values total.
Values are concatenated in the order they appear. With "Hello" in A1 and "World" in A2, the following formula returns "Hello World":
=TEXTJOIN(" ",TRUE,A1,A2) // returns "Hello World"
Changing the delimiter to a comma (", ") and reversing A1 and A2, we get "World, Hello":
=TEXTJOIN(", ",TRUE,A2,A1) // returns "World, Hello"
Concatenating a range
To join cells in the range A1:A3 with a comma and space, you can use TEXTJOIN like this:
=TEXTJOIN(", ",TRUE,A1:A3)
Find more information on TEXTJOIN: https://exceljet.net/functions/textjoin-function
Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.
Please let me know if you need more assistance.
Give back to the Community, Help the next person who has this issue by indicating if this reply solved your problem. Click Yes or No below.
Warm Regards