Store code
Exercise 2 of 11LEFT
Get the 2-letter store code from the start of the order code in D3.
Write your formula in the green cell, G2.
customer-export.xlsx
G2
fx
Click a cell to add it to your formula, drag to select a range, or click a column letter for the whole column.
About text in Excel
Real data is messy. These exercises use an exported customer list with extra spaces and random capitals. You'll clean names with TRIM and PROPER, pull pieces out of codes with LEFT and MID, and join text together.
Functions you can use here
TRIM(text)PROPER(text)LEFT(text, [num_chars])MID(text, start_num, num_chars)TEXTAFTER(text, delimiter, [instance_num])
More text exercises
- 1.Clean up a name
- 2.Store code
- 3.Text from the endPremium
- 4.Count charactersPremium
- 5.Pull out the yearPremium
- 6.Email domainPremium
- 7.Text before a characterPremium
- 8.Replace charactersPremium
- 9.Build a labelPremium
- 10.First name from a messy cellPremium
- 11.Join a listPremium