Given multiple text values in a cell which are separated by a semi-colon, one may want to split data into multiple rows along with existing data in other columns. This is something similar to Data > Text to columns – the only difference being that data has to be split by rows instead of columns.
Depending upon the version of MS Excel which you are using, there could be two ways to solve this problem
Solution for MS Excel 2010 and higher versions
If you are using the Power Query add-in, then a few simple steps (no formulas at all) can solve this problem. The result will be dynamic and refreshable (just as in a Pivot Table).
You may watch a short video of my solution here
Solution for all versions of MS Excel
I have also shown a macro based solution to this problem.
You may refer to my solution in this workbook.
For accomplishing just the reverse i.e. merging data from multiple cells into a single cell (separated by a comma), you may refer to my solution at this link.
Performing a text to rows operation
{ 20 Comments }