Split columns by lowercase to uppercase

In Power Query, you can split a column through different methods. If your data contains CamelCased text or a similar pattern, then the column(s) selected can be split by every instance of the last lowercase letter to the next uppercase letter easily.

Where to find Split Columns > By Lowercase to Uppercase

You can find the Split Columns: By Lowercase to Uppercase option in three places:

  • Home tab—under the Split Column dropdown menu inside the Transform group.

    Image shows By Lowercase to Uppercase under the Home tab.

  • Transform tab—under the Split Column dropdown menu inside the Text Column group.

    Image shows By Lowercase to Uppercase under the Transform tab.

  • Right-click a column—inside the Split Column option.

    Image shows By Lowercase to Uppercase when right-clicking a column.

Split columns by lowercase to uppercase into columns

The initial table in this example will be the one shown in the image below, with one column for Word and an extra column named Syllables. You'll only focus on the first column.

Image showing table with Word and Syllables columns, with five rows, with the Word column containing the first and second half of the word.

This column holds two values in each row:

  • FirstWord—The first half of the compound word.
  • SecondWord—The second half of the compound word.

In this example, you want to split this column into the two columns described in the list above. Select the column and then select the option to split the column by lowercase to uppercase.

This single column will split into multiple columns, given every instance of the last lowercase letter to the next uppercase letter. In this case, it only splits into two columns.

Your final table will look like the following image.

Image showing Word.1, Word.2 and Syllables columns, with the first and second half of the word separated into the two columns.