Skip to main content
Course

TEXT function practice exercises

Five exercises, from a ZIP code that lost its zero to a monthly sales label. Each answer is checked instantly, with a hint and the explanation if you get stuck.

Read the TEXT tutorial

Exercise 1 of 5

Bring back the leading zero in ZIP codes

The ZIP codes in column C were stored as numbers, so Boston’s 02108 shows as 2108. In D2, use TEXT to turn the number in C2 into the five-digit code 02108.

CustomerCityZIP (number)ZIP code
Northwind FoodsBoston2108
Harbor LogisticsNewark7102
Cedar BooksChicago60601
Maple DentalHartford6103