A phone number that loses its leading zero or its country code will not connect, and a spreadsheet that stores it as a number may also round a long number. Phone numbers are text, not numbers, and the check counts the digits in each one against the source.
Prerequisites
- The source document with the phone numbers
- The extracted sheet
- A copy of the source file, so the original stays untouched.
Steps
- Format the phone column as Text before pasting or checking anything, so leading zeros survive.
- Read each number in the sheet against the same number in the source, digit by digit.
- Use a LEN check column to list the digit count of each number, and flag any number shorter than the source.
- Confirm the country code is present on every international number, and add it only from the source.
- Fix any short number by retyping it as text from the source, never by guessing the missing digit.
Worked example: Fictional contact phone numbers checked
The practice table below is a fictional five-contact phone list. The digits column is the count of digits in each number, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.
| Contact | Phone | Digits |
|---|---|---|
| Amara Okafor | +44 20 7946 0018 | 12 |
| Ben Whitfield | +44 20 7946 0024 | 12 |
| Clara Jensen | +44 161 496 0031 | 12 |
| Dev Patel | +44 121 496 0042 | 12 |
| Elena Rossi | +44 131 496 0055 | 12 |
| Total | 60 |
Expected result. Five numbers checked, each has 12 digits, and the digit counts add to 60. UNTESTED: no AI extraction was run for this guide; the table shows the expected values a check should produce.
Limits
- A phone number stored as a number can lose its leading zero and be rounded if it is long, so store it as text.
- Spaces in a phone number are formatting, so count the digits only when comparing lengths.
