The only way I know to do this is to use VBA. The user defined function CONCATALL ... code is below ... used in this way will do what you want.
The code is below this formula. Array enter this formula in F5 of your workbook and fill down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
Instructions for installing the code is below this code window. The code for CONCATALL is:
How to install your new code
- Copy the Excel VBA code
- Select the workbook in which you want to store the Excel VBA code
- Press Alt+F11 to open the Visual Basic Editor
- Choose Insert > Module
- Edit > Paste the macro into the module that appeared
- Close the VBEditor
- Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)
To run the Excel VBA function:
Enter the formula as above.
Bookmarks