Module 13 · Dynamic Arrays · Split the author list

Nadia Rahman runs Inkwell Books and loves data

Seven authors sign books at the reading night. Each author gets a name card. But the publisher sends the names in one cell, with commas. And the orders come by email, all titles in one line.

Loading the spreadsheet…

Module 13 · Dynamic Arrays

Split the author list

Nadia Rahman, runs Inkwell Books and loves data
Nadia Rahman runs Inkwell Books and loves data

Seven authors sign books at the reading night. Each author gets a name card. But the publisher sends the names in one cell, with commas. And the orders come by email, all titles in one line.

Steps

  1. Split text into columns

    TEXTSPLIT splits a text at a delimiter. The second argument is the delimiter for columns. Each part goes in its own cell to the right.

    How to do it

    1. Click cell E5.
    2. Type =TEXTSPLIT( with the cell and a comma.
    3. Type the delimiter in quotation marks and a closing bracket.
    4. Press Enter.

    =TEXTSPLIT(C5,", ")

    Task: Split the authors of Short Nights. Put the first name in cell E6.

  2. Split text into rows

    The third argument of TEXTSPLIT is the delimiter for rows. Leave the second argument empty: =TEXTSPLIT(C10,,";"). Each part goes in its own row.

    How to do it

    1. Click cell E10.
    2. Type TEXTSPLIT with two commas and the row delimiter.
    3. Press Enter.

    =TEXTSPLIT(C10,,";")

    Task: Split the order of Harbor Library into a list. Put the first title in cell G10.