This command should concatenate the cells and add a space before the next cell, but it should do this only if the cell is not empty, and this is where I am having trouble.
The MID function strips the leading comma and space from the concatenated text.
Microsoft Excel
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
If you are stuck with a legacy version of Excel, you need to concatenate the results of IF functions:
Open in new window
The MID function strips the leading comma and space from the concatenated text.