IntermediateText Functions8 min25 points

Split a city away from its state

The situation

Harbor Supply's shipping export writes destinations as one field — Cleveland, OH — and the new carrier portal wants city and state in separate columns. City names vary in length, so counting characters will not survive the second row.

A1
fx
Split a city away from its state — question sheet. Use the arrow keys to move between cells, Enter or F2 to edit, Escape to cancel, Control D to fill down from the cell above, and Control C and Control V to copy and paste.
Row numberABCDE
1LocationCity
2Cleveland, OH
3San Antonio, TX
4Providence, RI
5Grand Rapids, MI
6Charleston, SC
7

Functions in this exercise

  • LEFTReturns a set number of characters from the start of a text value.
  • FINDReturns the position of one text value inside another. Case-sensitive.

Who this is for