BeginnerText Functions4 min10 points

Pull a state code out of a territory with RIGHT

The situation

Harbor Supply's CRM writes territory codes as a region name and a state joined with a hyphen, like Northeast-NY. Finance wants to group the sales report by state alone, so the two letters on the end need pulling out into their own column.

A1
fx
Pull a state code out of a territory with RIGHT — 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
1TerritoryState
2Northeast-NY
3Southeast-GA
4Midwest-IL
5Southwest-AZ
6Northwest-OR
7

Functions in this exercise

  • RIGHTReturns a set number of characters from the end of a text value.

Who this is for