A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Yes. Excel has a Text cell format.
When a cell is formatted as Text, Excel treats entries as text even if they look like numbers. This is the recommended way to preserve things like leading zeros or long number codes.
To apply it in Excel for Windows:
- Select the cell or range.
- Go to Home.
- In the Number group, open the Number Format list.
- Select Text.
A few important details:
- Numbers entered after the format is applied are stored as text.
- Text-formatted entries are typically left-aligned in the cell.
- For values with 16 digits or more, using Text is important because Excel has a maximum of 15 digits of precision for numbers.
- If a value has already been entered as a number, changing the format to Text does not necessarily convert that existing value; formatting first is the safer approach.
- A leading apostrophe is another way to force text, but it is not required if the cell is already formatted as Text.
References: