5.10 Phone Numbers
Clean a phone field without losing part of the number
A returns desk receives a contact list from two stores. One file shows spaces and parentheses around the digits. Another uses a compact international-looking value. A third field has pasted a shortened number from a displayed cell. The team needs a consistent text field for review. Dropping a leading zero or throwing away every character before the final ten digits can destroy information the team needs to interpret the source.
We will use a fictional order support desk inspired by shopping apps such as Blinkit and Amazon Now. In the exercises, numbers with the shared +1 prefix use the North American numbering administrator's reserved fictional local numbers from 555-0100 through 555-0199. They are used as practice strings. Use the worksheet only for data preparation and review. An organisation that works with a different regional numbering plan needs its own documented rules.
- Preserve the source. Import and keep each original field as text with its source record ID.
- Remove known display characters. Create a candidate without changing the original value.
- Verify format under a declared rule. Check prefix, length and digit shape separately from any evidence about a person or contact route.
- Keep a review result. Preserve unknown, incomplete and extended values until there is evidence to interpret them.
Store a phone field as an identifier
A phone value identifies a contact route, so arithmetic on it has no useful meaning. Leading zeros, a plus prefix, and an extension can each matter depending on the source. Numeric storage can remove leading zeros, infer a number from text containing an E, or show long input in scientific notation. Set the import column's type to Text before conversion. For short manual exercises, format the blank input column as Text before entering each record.
Tell a display change from lost data
A visible string like 9.00000E+09 can be a numeric cell displayed in scientific notation. More digits might still be stored, or rounded output might already have been exported and pasted as text. Select the original cell and inspect its content, not just the screenshot. A widened column or a suitable display format can reveal stored digits in some cases. Once digits have actually been lost through conversion or rounding, changing the display cannot reconstruct them.
Excel supports fifteen significant digits of numerical precision. Text fields can preserve characters without relying on that numeric storage. A custom number format can display a leading zero on an existing number, but it adds a display rule. It does not establish that the original source supplied that zero. Preserve the exact record from the source where identity depends on its characters.
Protect raw characters before opening a CSV as a worksheet
A CSV stores delimited text, and the app opening it can infer types. In a supported import workflow choose Text for the phone column or disable inappropriate automatic conversions. Check a known sample with a leading plus and a known source example with an initial zero. Inspect the type and character count after import. Keep the untouched input file in the appropriate restricted location.
Will changing an already damaged value to Text restore its original digits?
No. Text formatting can help preserve what you enter or import next. If an earlier numeric step removed or rounded characters, recover the original value from a trusted source and import it again under the correct type.
Define the regional rule before removing a prefix
Phone numbers from different countries and services can use different lengths and dialing conventions. An international representation may contain a leading plus and a country calling code. A domestic dialing string can contain a trunk prefix, which is used to reach a national route under its local rules. The treatment of that prefix depends on the current plan and the number type. Use a verified region and service rule before converting it. A ten-digit shape is not a universal mobile number rule.
Separate a contact's region from a company's location
A sheet maintained by a Pune store can contain contacts from several countries. Do not infer the number's interpretation from the store city. If the original data supplies a verified numbering region or a trusted source-system contract, use it for a specific conversion. If it only provides a local-looking sequence of digits, keep it unresolved until the rule is known. Several different international numbers can share the same final digits.
The first exercise accepts a leading +1 and exactly ten following digits after approved formatting changes. This is the exercise's shape contract for its restricted sample, not a rule for every country or proof every accepted string is assigned. Local values require additional evidence. For a supported business process keep the original leading plus or a separate region field so the conversion remains explainable.
Keep extensions in their own fields
An extension is a separate routing detail used after reaching some phone systems. Text like x23 or ext 23 might signal an extension, depending on the source. Appending those digits onto the base number changes its meaning. Record the base and extension separately only when the source confirms the suffix's role. A formula that keeps the last ten digits can accidentally keep extension digits and drop real digits from the base.
A record contains a local-looking phone string with no confirmed region. What should the sheet do?
Keep the source string and flag the region as unresolved. Add a prefix only after validating the source's numbering convention. The final ten digits are insufficient evidence for the country or dialing route.
Remove the characters your source treats as display formatting
Work in a helper column. Start with characters you understand. For the first lab, the source can add spaces, hyphens and parentheses for readability. The plus sign is retained. Replace a known nonbreaking space with an ordinary space first when the source can contain it, then remove the ordinary spaces. Use UNICHAR with 160 in a supported edition to reproduce that character.
Use a specific transformation and keep unexpected symbols visible
For +1 (212) 555-0101, removing the spaces, parentheses and hyphen yields +12125550101. A slash, an extra plus sign or unexpected letters can have a different meaning. Leave them for review when they are outside the source contract. A rule that simply removes every nondigit can make an unrecognised value look ordinary while merging an extension or losing the source's indication of scope.
Write each substitute step in a separate helper while learning. Start by changing nonbreaking spaces to regular spaces. Then remove spaces, then hyphens, then each parenthesis. Confirm an already compact source value stays unchanged. Later you can combine the transformations into one expression, keeping the exact approved character list near the input instructions.
Why should the formula retain an unexpected letter?
The letter may be a meaningful flag, an extension marker, or evidence of a corrupted input. A visible review case gives the team a chance to interpret it. Removing it automatically could turn an incomplete number into a plausible-looking candidate.
Check the shape and keep status separate from identity
Test prefix, length and digits independently
For the exercise, a cleaned candidate has the literal prefix +1 followed by ten decimal digit characters. Extract the suffix only after verifying the prefix. Check the suffix length with LEN. A length of ten is only the first check. A ten-character value can include a letter. Use a deliberate digit test before describing the result as matching the exercise shape.
In modern Excel editions with REGEXTEST, the pattern ^[0-9]{10}$ means the entire suffix is exactly ten ASCII digits. The anchors specify its beginning and end. Use an equivalent test where the function is unavailable. The lab provides a controlled formula that compares the original ten-character suffix with a formatted ten-digit number from it. This comparison is used only for validation of short ASCII-digit fixture values. Keep the canonical and raw phone fields as text.
State what a formatting check proves
A passing format check means the value meets the defined character pattern. It tells you neither who supplied it, nor whether it belongs to the person on the record, nor whether it can receive calls or messages. Our reserved fictional values can pass shape checks without being intended for contact. Verifying a contact route or permission to use it is a separate process outside the worksheet calculation.
Trace one source value into a reviewed candidate
Keep the raw row
Record PX-01 and its original
+1 (212) 555-0101text. The record ID gives a way to find the original import if the transformation is questioned.Remove approved formatting
Replace any known nonbreaking spaces, then remove spaces, parentheses and hyphens. The candidate becomes
+12125550101. Keep its plus sign.Check the declared shape
The prefix is +1. The remaining string is
2125550101, which is ten ASCII digits. The expected status is Matches shape for this sample rule.Share only the view needed
A restricted review table can retain the original and candidate. A summary may need only the status count or a hint such as Ending 0101. The ending is a display aid, with no evidence of uniqueness.
Lab 1 · Clean six controlled strings and show which need review
Goal. Preserve raw values, apply a small list of presentation-only substitutions, and check the candidate shape. Create an editable scratch worksheet named Phone Shape. Set column B to Text before typing the raw entries. Put Record ID, Raw Text, Candidate, Suffix and Status in A1:E1. Use the following fictional or malformed strings.
| Record | Raw text | Candidate | Status |
|---|---|---|---|
| PX-01 | +1 (212) 555-0101 | +12125550101 | Matches shape |
| PX-02 | +12125550102 | +12125550102 | Matches shape |
| PX-03 | +1 (212) 555-0103 with a nonbreaking space after +1 | +12125550103 | Matches shape |
| PX-04 | 212-555-0104 | 2125550104 | Review prefix |
| PX-05 | +1 (212) 555-01A5 | +121255501A5 | Review digits |
| PX-06 | Leave blank | Empty display | Missing |
- Enter the inputs. Put the six IDs in A2:A7. Enter the strings in B2:B7, leaving PX-06's cell blank. In B4 create the exact nonbreaking-space fixture. Temporarily use General for that one blank cell before typing
="+1"&UNICHAR(160)&"(212) 555-0103". It produces text with the deliberate character. If UNICHAR is unavailable, use an ordinary space for that row and record that you did not test the special case. - Create the candidate. Enter the C2 expression below and copy it through C7. Excel removes only the named formatting characters. The two normal shapes with different punctuation end as comparable text strings with their plus prefixes retained.
- Read the suffix after checking prefix. In D2 use the second expression and copy down. For a candidate beginning with +1, start the suffix at character 3. If the checked prefix is missing, keep the suffix output empty rather than treating all text after the second position as digits.
- Check the shape. In E2 use the third expression and fill down. In our digit check, convert the ten-character fixture suffix into a number only for comparison, format it back with ten digit positions, and require an exact text match. The normalization stays in C and D as text. If REGEXTEST is available, it can replace the digit comparison with the explicit ten-digit pattern.
- Prove the statuses. Expect three Matches shape, one Review prefix, one Review digits and one Missing. PX-05's suffix has ten characters but one is a letter. A length check alone would miss it. Correct the A to 0 in a scratch version and verify the shape status changes, while documenting that it is still a fixture.
C2 =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,UNICHAR(160)," ")," ",""),"-",""),"(",""),")","")
D2 =IF(LEFT(C2,2)="+1",MID(C2,3,LEN(C2)),"")
E2 =IF(B2="","Missing",IF(LEFT(C2,2)<>"+1","Review prefix",IF(LEN(D2)<>10,"Review digits",IF(IFERROR(EXACT(TEXT(--D2,"0000000000"),D2),FALSE),"Matches shape","Review digits"))))
Verify and recover. If PX-03 still has an unexpected character, test LEN before and after the replacements. If you did not use UNICHAR, omit the first SUBSTITUTE for the ordinary-space variant and record the difference. If the number was entered with formula interpretation instead of text, restore the raw text from the table. Save the scratch workbook with your test inputs restored.
Lab 2 · Reconcile a mixed contact list and test masked endings
Goal. Review some records manually under a documented source rule, then compare duplicate candidates with matching last-four displays. Add an editable sheet named Phone Review. Use A1:E1 for Contact ID, Raw, Reviewed Candidate, Disposition and Display. Store the raw strings and reviewed candidates as text. Enter only the displayed contact strings, excluding the descriptions following commas in CP-02 and CP-05. This exercise explicitly supplies the region rule for one local record. Other unresolved states stay on hold.
| ID | Raw source | Reviewed candidate | Disposition |
|---|---|---|---|
| CP-01 | +1 (212) 555-0101 | +12125550101 | Ready for review |
| CP-02 | 212-555-0101, source rule confirms +1 | +12125550101 | Ready for review |
| CP-03 | +1 415-555-0101 | +14155550101 | Ready for review |
| CP-04 | +1 212 555-0106 x23 | Leave blank | Hold extension |
| CP-05 | 9.00000E+09, copied as a display string | Leave blank | Check source |
| CP-06 | Leave blank | Leave blank | Missing |
| CP-07 | (+1) 212 555-0107 | +12125550107 | Ready for review |
- Transform only the documented candidates. Use Lab 1's approved display-character rules on the full forms. For CP-02, write a note that the exercise confirms the +1 region and the local form, then prepend that prefix to the cleaned ten-digit string. Keep the original without the prefix.
- Retain each unresolved record. Put the listed disposition in D and keep C blank for CP-04 through CP-06. CP-04 requires knowing exactly where its extension begins. CP-05 needs the original source characters. CP-06 provides no input. No guessed values are needed to reconcile the list.
- Display a masked version. In E2 use
=IF(D2="Ready for review","Ending "&RIGHT(C2,4),"Review needed")and fill down. CP-01, CP-02 and CP-03 all display Ending 0101. Compare the actual candidates where you have authorised access to the scratch file. - Count matching full strings. In an unused helper column, for a nonempty C2 use
=IF(C2="","",SUMPRODUCT(--EXACT($C$2:$C$8,C2)))and fill down. EXACT compares the complete text values character for character. SUMPRODUCT counts the true comparisons in the controlled candidate column. CP-01 and CP-02 yield 2. CP-03 and CP-07 yield 1. Keep every source row. - Reconcile status counts. Expect seven input records, four candidates marked Ready for review, and three with distinct unresolved statuses. The four candidates contain three distinct full values. Do not subtract a record because it shares a candidate unless the business has independently confirmed duplication.
Verify and recover. If CP-03 shares a duplicate count of 2 or 3, check that the formula counted column C rather than the masked display in E. If your source string has a true extension marker, ask for the documented separator and do a separate parsing check in your own copy. Keep the unresolved record available for the report. Save or close the synthetic workbook when done.
Give each exception an action someone can verify
Separate observed evidence from suggested interpretation
“Raw starts with a local-looking string” is an observation. “The source region is known” needs evidence. Keep a note identifying the applicable rule, the file or responsible source team, and the original row ID. If a new import includes another prefix, flag it without guessing. Inspect that subset separately to learn how the incoming fields should be understood.
Use the minimum contact detail that the output needs
A data-quality dashboard may need only counts such as Ready for review and Missing. A troubleshooting view might use an ID and last four digits. Retain full strings only where needed and use the workbook's approved access arrangements. A formula that masks the display in one column leaves the original stored elsewhere in the file. Sending that whole file would still provide recipients access to the underlying data according to the sharing setup.
When creating a separate authorised distribution copy, check what it contains and omit raw fields the recipient does not need. Reconcile record IDs and expected counts after the copy. Do not copy a full contact workbook just because the displayed sheet uses a masked view.
Can two contacts with the same suffix be treated as one person?
No. Different full values can share the suffix, and even the same full number can be a shared contact route. Verify identity and duplicate policy using the defined data sources before merging records.
Test what changes during a small import or export
A teammate says the same file displays a leading zero for one person and loses it for another. First identify which file each person opened and how the import classified the field. A text editor can show the source characters in a delimited file. Excel may infer a numeric type when opening those characters directly. The source file, the saved workbook and its visible number format each provide different evidence.
Keep control values that expose a type change
Create a scratch list with three invented contact identifiers. Use one that begins with a leading zero, one that keeps a plus for a fictional international representation, and one long identifier that is explicitly not a phone number. Compare the controlled text field with the original characters. The long generic ID helps demonstrate what can happen to meaningful characters beyond the precision of Excel numeric storage. Choose a dataset with no personal contact values for this test.
| Source field for a scratch test | Expected character count | What to inspect |
|---|---|---|
| 00123, a generic identifier | 5 | Two leading zeros still appear in the actual value. |
| +12125550101, fixture | 12 | The leading plus remains literal text. |
| 1234567890123456, a generic identifier | 16 | The final character 6 was preserved exactly. |
Verify ISTEXT on each stored value and use LEN only after you know the cell is text. LEN can also measure the text representation of a numeric value, so the final length alone does not prove the field was preserved. Compare the full value against the authoritative source or a controlled expected value rather than accepting merely the expected number of characters.
Verify the receiving workflow as well
If a contact team needs a delimited export, check a small representative sample using the receiving process. A file can contain the correct text while the receiving spreadsheet infers a different type on open. Conversely, a screenshot that displays more digits after widening a column gives no evidence about a previously exported text file. Compare the raw export, the received cell type and the stored value separately. Keep the original workbook and confirm both the record count and the exact control values before releasing a revised process.
Separate a confirmed extension in the mixed review
The Phone Review exercise left CP-04 on hold. Suppose the responsible source team confirms that this sample uses a single space followed by lowercase x before an extension and that the digits after it are part of a separate field. You can repeat the review with that new evidence. Keep the former status and raw value available. Store the base and extension in distinct helper columns.
Identify the exact marker for one controlled fixture
Enter the raw fixture +1 212 555-0106 x23 in B5 if it is not already there. In a scratch cell use =FIND(" x",B5) to locate the first character of the agreed marker. FIND is case-sensitive. This test is limited to the documented lower-case marker. A different spelling or a different marker needs a reviewed rule. Verify how many occurrences can exist under the source format before applying this approach widely.
For this one verified test row, =LEFT(B5,FIND(" x",B5)-1) returns the base display string +1 212 555-0106. =MID(B5,FIND(" x",B5)+2,LEN(B5)) returns the text 23. Clean the approved base punctuation separately and expect +12125550106. Keep 23 in the extension field. A source might intentionally include a leading zero in an extension. Preserve it as text under the confirmed rule.
Prove the parser did not combine the two fields
Check the result with one confirmed extension row and an ordinary contact without an extension. For a row with no marker, FIND cannot find that exact pattern and can return #VALUE!. Route known no-extension records through their own path rather than interpreting that error as a base number. For a record containing a second marker or a word where digits were expected, send it for review instead of combining its characters.
With CP-04 confirmed and recorded as a separate base and extension, five of the seven source rows have a reviewed candidate base and two remain unresolved. The five base candidates contain four distinct full base values. The raw record count stays seven. If you compare full routing details, check both base and extension. A shared base can describe two different extensions on the same organisation's system.
Test changes that must not be accepted silently
Use a small quality-control set with a known compact candidate and several malformed variations. Apply the exact same candidate and status formulas as those in Phone Shape. A good control proves both what passes and what is held. Keep the prefix and characters visible while inspecting each failure.
| Input fixture | Expected first status | What the test proves |
|---|---|---|
| +12125550101 | Matches shape | A compact verified shape stays the same. |
| +1 212/555-0101 | Review digits | A slash is outside the approved substitutions. |
| +1 212 555+0101 | Review digits | An extra plus inside the suffix remains visible. |
| +1 212 555-010 | Review digits | A shortened suffix must not get guessed digits. |
| +1 212 555-0101 x23 | Review digits in Lab 1 | The first lab lacks an extension-handling rule. |
| 2125550101 | Review prefix | The first lab needs a confirmed +1 context. |
Examine the hidden cost of an overly broad cleanup
Compare the extension fixture with a rule that keeps only the final ten digits after removing all nondigits. Its last positions include the extension 23. The resulting sequence would describe a different combination than the intended base. Similarly, deleting the extra plus from a malformed value can conceal a source-entry error. Keep unknown characters visible so someone can decide whether a transformation is justified.
If a second verified source permits a slash for a particular presentation, handle that case based on the documented source identity. Maintain one rule per supported format or mark a row that does not match it. Add a test for each approved transformation with the raw evidence intact. A global change to remove a character across all inputs is harder to verify if those inputs have different conventions.
Tell a shape correction from verified contact information
In a scratch workbook changing PX-05's letter A to the digit 0 tests the formula's response. It proves that a shape failure can become a shape pass after the character changes. A real contact record cannot be corrected by testing arbitrary digits. Ask for the verified source value, record the reason for the change and keep different statuses for formatting review and independent contact verification.
Reconcile the contact review before handing it over
Suppose your colleague needs to use the contact review to decide what to ask the import team. A row-count check shows whether you preserved all source records. A count of candidates shows how many passed the declared checks. The count of distinct candidates answers a different question from the count of product or customer IDs. Write both numbers with their meanings and keep the unresolved records listed.
Separate repeated contact routes from repeat source rows
CP-01 and CP-02 both produce +12125550101 after the authorised normalization. This is one repeated candidate value across two source records. Their contact identifiers are different. It might represent a shared organisation contact or a repeat entry, depending on the actual business rules. Use the duplicate flag to start a review rather than replacing the records with one new identity. CP-03 gives another full value while its masked display repeats the ending.
For the first review, the seven source records divide into four prepared candidate rows and three held rows. You can report one repeated candidate group and three distinct candidates. These counts measure different things and should retain clear labels. If an extension is later reviewed, the revised counts are five prepared, two held and four distinct base candidates. Keep the reason for revision beside the updated totals. Run the same check in reverse by temporarily withholding the regional evidence for CP-02. Its local string belongs on hold again, so the first review would have three prepared rows and four held. One copy of the corresponding candidate still appears on CP-01. Restore the documented region after checking how the evidence changes the row status.
Include a small test set with the documented rule
- Record a consistent source key. Keep the workbook's input IDs so an import correction can be traced without relying on a masked display or its visual row number.
- Record the applied policy. Specify which region rule was verified and which characters were allowed only for presentation.
- Record unresolved cases. Keep one missing value, one ambiguous prefix and one extension example in a synthetic control set. Verify their next actions after adjusting a formula.
- Check distribution. Compare the output fields and record counts with the permitted handover. Omit unused raw values from the separate distribution file when the recipient only needs the audit summary.
Inspect individual digit positions when a shape test fails
A colleague asks where the malformed suffix differs from the ten digits expected in the fixture. A single FALSE answer can identify the row without identifying the character. A small helper table lets you see which positions pass. It also gives you an option alongside a regular expression or numeric-format comparison when you want to explain the result to a beginner.
Read one character at one specified position
In a scratch copy of Phone Shape put the numbers 1 to 10 across H1:Q1. Each heading is the one-based position inside the suffix stored in column D. In H2 use =ISNUMBER(FIND(MID($D2,H$1,1),"0123456789")) for a row whose suffix is already known to be ten characters long. Fill across to Q2 and down over the review rows. MID reads one character from D on the current row. FIND checks whether that character is present in the known digit string. ISNUMBER reports whether FIND returned a position.
The column anchor on D keeps every formula reading the same suffix field. The row anchor on the position heading keeps the integer position fixed within a helper column. Compare PX-01, where all ten positions contain digits, with PX-05, where position 9 contains A and returns FALSE. This exact position gives the source team better diagnostic evidence than a length check.
Keep a separate length requirement
When a suffix is shorter than ten characters, the individual extraction can return an empty string after the end. A blank search value can have special behaviour. Use the positional helper only with a verified ten-character suffix or include the length as an explicit required condition. In this exercise combine both with =AND(LEN(D2)=10,SUMPRODUCT(--(H2:Q2))=10). The summary requires ten characters and ten passing checks.
Keep the tiny set of helpers until you can explain the failed position. An audit screenshot may show one red flag, but the formula and source comparison let the team reproduce the classification. If two setups give different results after a locale or version change, compare both with the actual ASCII digit requirement and the raw fixture rather than adjusting the source string to fit a calculation.
Apply the checks to three new inputs
- Find a letter in the suffix. Create a string with the expected prefix and a letter in one of its ten positions. Check. It meets the length test but fails the digit check.
- Preserve a leading character. Type a short example code with a leading zero into a Text-formatted cell. Check. LEN includes the zero. Use an explicitly defined import field type for the same result on a file.
- Verify a repeated suffix. Compare CP-01 and CP-03 in the second lab. Check. Both end 0101 and the full strings differ. No record should be removed based on the masked display.
Check your understanding
1. Which Excel data type is suitable for preserving the literal contact string?
- A. Text
- B. Currency
- C. A rounded whole number
Answer A. Phone strings may include a plus, initial zeros or separate extension markers. Text lets you preserve those characters rather than treating the value as an amount.
2. A candidate has ten suffix characters, including one letter. Does it pass the lab's shape check?
- A. Yes, because its length is ten
- B. No, the suffix must have ten digits
- C. Yes, if it begins with a zero
Answer B. Length and character type require separate evidence. The letter keeps the candidate in the digits-review category.
3. What does a shape pass establish?
- A. The person's identity
- B. That the device accepts messages
- C. That the input meets the worksheet's tested character pattern
Answer C. A spreadsheet can check a defined format. The reserved fictional values in the exercise demonstrate why a compatible pattern gives no guarantee of real contact ownership or reachability.
4. Why should you avoid taking only the last ten digits from arbitrary contact text?
- A. A prefix or extension can affect interpretation
- B. Excel cannot read any suffix
- C. The display always proves the region
Answer A. A tail slice can combine extension digits with part of the base and remove critical prefix information. Apply only a documented conversion for the known source plan.
5. Two masked candidates both show Ending 0101. How should you test duplication?
- A. Delete one row automatically
- B. Compare permitted full candidates and source IDs under the confirmed policy
- C. Sort by the suffix and assume the source is complete
Answer B. Distinct full strings can share a suffix. Even identical strings can be shared contact routes. Distinguish a comparison flag from a verified duplicate decision.
6. A source value was already rounded and copied as 9.00000E+09. What is the next step?
- A. Add zeros until it matches a chosen length
- B. Remove the E and plus sign
- C. Recover the original characters from the source
Answer C. The shortened representation does not contain enough information to reconstruct lost digits. Use the original source and import the value as text.
Interview questions with worked answers
- Why would you store phone values as text?
I need to preserve their characters as identifiers. Numeric conversion can change initial zeros and for long values can lose precision. I set the type during import, keep the raw source and test a known sample containing a leading character.
- How do you clean mixed formatting without damaging a contact field?
I document the source's expected conventions, preserve the raw input and remove only approved presentation characters in a separate column. Unexpected punctuation, identifiers with unknown prefixes and suffixes that might be extensions get separate review statuses. I verify one clean and one unusual input before filling the rule down.
- What does a successful phone-format check prove?
It proves the supplied value matched a declared character shape. It does not by itself prove existence, reachability or ownership. I label the output as Matches shape and keep any independently verified contact status in a different field.
- When would you add a country code to a local-looking value?
I first confirm the authoritative regional rule and type of number for that source. Then I normalise the local value under that rule and keep the original. If the context is unclear, I mark the case for review rather than assuming the region from the store or customer name.
- How would you make a report safe to share with someone who only needs counts?
I use the approved sharing process and provide a separate output with the status counts. A masked column can be useful in a restricted worksheet, but the original values can still exist elsewhere in the file. I check the selected fields before distributing a separate report.
Quick recall cards
- Raw text
Preserves leading characters and source evidence. Set its type before import or entry.
- Candidate
A separately stored transformation based on known source punctuation and region rules.
- Shape test
Check prefix, length and digits against a documented rule. Use a precise status.
- Extension
Keep it separate when the source confirms its role. Review unrecognised suffixes.
- Masked display
Last-four endings can coincide for distinct strings. They are unsuitable as unique keys.
- Reconcile
Count the original records, prepared candidates and remaining review cases explicitly.
In the email lesson you will carry the same separation forward. Preserve the source address, check only the syntax rule you intend, and keep broader verification statuses separate from a worksheet cleanup calculation.
Official references
Continue practising: explore the existing Excel Task Hub for additional exercises.