Leading zeros disappearing in Google Sheets
Format A2:A4 with the custom number format 00000 so every code displays exactly five digits while remaining numeric.
Verified by JosephineAbout 75 secondsFormat A2:A4 with the custom number format 00000 so every code displays exactly five digits while remaining numeric.
Step-by-step
Open the practice sheetUse the example data shown below so the result is easy to check.
Leading zeros disappearingFormat A2:A4 with the custom number format 00000 so every code displays exactly five digits while remaining numeric.
Check the resultCompare the finished sheet with the expected result and correct the target range if needed.
Shortcut or faster method
Use the menu path shown in the video and keep the target range selected until the change is applied.
Expected result
A2:A4 uses the five-digit leading-zero number format.
Common mistake
Applying the change to more rows, columns, or cells than the task specifies.
Troubleshooting
Re-select A2:A4 and repeat the final action. A2:A4 uses the five-digit leading-zero number format.
Example spreadsheet data
This is the clean fixture used for the verified run.
| Code |
| 12 |
| 345 |
| 7 |
Video transcript
- Open the prepared Code repair spreadsheet.
- Open the practice sheet. Use the example data shown below so the result is easy to check.
- Leading zeros disappearing. Format A2:A4 with the custom number format 00000 so every code displays exactly five digits while remaining numeric.
- Check the result. Compare the finished sheet with the expected result and correct the target range if needed.
- A2:A4 uses the five-digit leading-zero number format.