
Excel split cells with multiple lines mac#
This function is only available beginning in Excel 2000, and isn't available in Excel for the Mac at all. The macro relies upon the use of the Split function to tear apart the multi-line cells. In addition, the split-apart versions of the cells are stored in a new worksheet, so that the original worksheet is not affected at all. As written here, the macro splits apart info in the fourth column. Note that in order to run the macro, you will need to specify, using the iColumn variable, the column that contains the cells to be split apart. In this example, the macro assumes that you want to "expand" everything in the worksheet, and that the data in the worksheet starts in row 1. One approach is shown in the following code. That means that the solution to this problem must include the use of a macro. The problem is that while this successfully splits the data into separate columns, it doesn't get it into separate rows, like James requested. This can be used to split the data based on the presence of the ASCII 10 character, which is what Excel inserts when you press Alt+Enter. For instance, if there were three lines of data in a single cell in the row, then the data in that cell should be split out into three rows.Įxcel provides a handy way to split data into separate columns using the Text to Columns tool. (The data in the cell was separated into lines by pressing Alt+Enter between items.) James would like to split this data into multiple rows.



One of the columns in the data includes cells that have multiple lines per cell.
Excel split cells with multiple lines series#
James has some data in a worksheet that is contained in a series of rows.
