File Requirements
Input:
[your initials] Week08Practice01.xlsx
(the workbook you completed in Practice 14).
Output:
Save your working file as
[your initials] Week08Practice02.xlsx
.
Part A — Build a Custom Number Format
Step 1: Open and Prepare the Workbook
-
Open your completed
[your initials] Week08Practice01.xlsx. - Because the workbook includes external links, you will see a security warning or a message box.
- Click Update in the message box (or click Enable Content in the warning bar).
-
Save As
→
[your initials] Week08Practice02.xlsx.
Step 2: Build the Custom Format on the FormatCodes Sheet
- Click the FormatCodes sheet tab. You will modify checklist codes to display "PVR" followed by a four-digit number.
- Select cells A5:A16 .
- Click the Number launcher (Home tab → Number group) to open the Format Cells dialog box.
- In the Category list, click Custom on the Number tab.
- Select the 0 code — a single zero in the list. You will build your code starting from this base.
-
Click in the
Type
box and type
000so the code is four zeros. The Sample display shows0001. -
Click in front of the first zero and type
PVR(including a trailing space). The Sample box updates to include the text prefix. - Click OK . All formulas in the range now display with the "PVR" prefix and insignificant zeros as needed.
Step 3: Enter Data Using the Custom Format
-
Select cell
A16
, type
12, and press Tab . -
Type
Cooking pan set, press Tab , type1, and press Enter . The custom format applies automatically.
Part B — Assign the Geography Data Type
Step 4: Assign Geography Data Types on the DataTypes Sheet
- Click the DataTypes sheet tab. Notice that Tennessee and Virginia are spelled incorrectly.
- Select cells A2:A11 .
- Click the Geography button (Data tab → Data Types group). You may see an expanded set of data types or only two or three available depending on your Excel version.
- Click Geography to assign the data type to all selected cells.
Step 5: Review Auto-Corrections and Resolve Unrecognized Labels
- Select cell A9 . The spelling of Tennessee has been corrected automatically.
- Select cell A10 . The Data Selector pane opens but no suggestion is made (the label could not be matched).
- Edit cell A10 to correct the spelling error, then press Enter to reassign the data type.
- Close the Data Selector pane if it did not close automatically.
Part C — Get Linked Data from Data Type Cells
Step 6: Add Columns of Geo-Data to Your Table
- Select cells A2:A11 .
- Format the cells as an Excel table using White, Table Style Light 1 . The table does not have headers yet.
- Select cell A3 , click the Add Column button. (The Insert Data button becomes the Add Column button when cells are formatted as a table.)
- Choose Median household income from the field list. The linked data displays in the new column.
- Select cell A5 , click the Add Column button again.
- Choose Persons per household . The linked data displays in a second new column.
Part D — Edit and Format Labels
Step 7: Finalize Column Headers and Widths
- Select cell A2 .
-
Type
Stateas the column header. - Select cells B2:C2 , click the Wrap Text button (Home tab → Alignment group).
- Select columns A:C and set column width to 12 .
- Select cells A2:C2 and center-align them.
Step 8: Save and Close
-
Save and close
[your initials] Week08Practice02.xlsx.
Key Skills Practiced
-
Custom number formatting (prefix text + leading zeros with codes like
PVR 000) - Using the Number Format dialog launcher to access Custom format codes
- Assigning the Geography data type to a range of text labels
- Data Selector pane — auto-correction and manual resolution of unrecognized labels
- Adding columns of linked smart-data from a data type cell
- Converting a range to an Excel table with a named style (White, Table Style Light 1)
- Add Column button for dynamically growing table columns
- Column width adjustment and Wrap Text for headers