You can download Power Query or if you have Excel 2016 it is a default its name is Get & Tranform in the Data Tab.
- Select any cell in your main table.
- Go to Power Query or Data and select From Table/Range.
- It will be a box with the range OK.
It will open the Query Editor
- Go to Home select Group by.
In the Options:
- Group by: Add all the fields you don't want to concatenate.
- New Column name: It could be "Group".
- Operation: Select All Rows.
- OK.
Go to Add Column select Custom Columna.
Concatenate field Name
[Column Named Step 5][Column Name where is the data to concatenate]
Go to the new field and click in the right corner (Arrows) and select Extract Values....
- Select delimiter
#(lf)
OK.
- Go to Home tab and select Advanced Editor.
- There look for
""#(lf)""
and delete the extra ""
it should be "#(lf)"
click in Done.
- Got Home select Close & Load.
It will create a new sheet with a table with your new data.
- Use Wrap Text in Home tab to see the lines break.
You can append more data in the main table and it will be just a right click refresh in the Power Query Table and you will get your data.
I made this tutorial. It is in Spanish but I am using the English Excel version.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…