A formula shows as text when the cell is formatted as Text, so Excel treats the entry as a label instead of a calculation. The usual triggers are pre-formatting before typing, a leading apostrophe, a stray space before the equals sign, or a calculation mode stuck on Manual. Repair it by clearing the Text format, deleting the apostrophe, removing the space, and setting calculation to Automatic.
That answer covers most cases, but the exception is where most people lose time: a formula that recalculates fine on another machine and fails on yours, or one that works until the workbook is reopened. Those failures come from different layers of how Excel stores and evaluates data. This explainer walks those layers in order, from the cell format up through calculation mode, import pipelines, and the newer dynamic array behavior that silently converts formula results into static text.
The mechanism: why Excel treats some entries as labels
Excel decides how to interpret a keystroke sequence using the cell's number format as a gatekeeper. The format is stored in the cell's style record, not in the formula itself. When the format is General or a numeric format, an entry beginning with "=" routes to the formula parser. When the format is Text, the entry routes to the literal string store, and Excel records the equals sign as an ordinary character. The formula never compiles.
The leading apostrophe works differently. It is not part of the cell's value; it is a prefix flag that tells Excel to treat the following entry as literal text even in a General-formatted cell. If you look at the formula bar, the apostrophe appears. If you look at the cell, it does not. That mismatch is why people paste a clean-looking column and still see formulas sitting inert as text.
A third gate is the space. A cell containing " =SUM(A1:A5)" with one leading space is not a formula. Excel reads the space as the first character, so the entry is a string. The same applies to a trailing space inside a reference, such as "=SUM(A1:A5 )", which can produce a #NAME? error rather than a text display. These are different failure modes and they require different fixes, which is why the "convert to number" button does not always appear.
The fourth gate sits above the cell: the workbook's calculation mode. If calculation is set to Manual, formulas remain in the cell as formulas but display stale values. This is not the same as showing text. The distinction matters because the fix is different, and because a manual-mode workbook can look correct on the machine that last recalculated it and wrong everywhere else.
One plain-language version: the cell format decides whether Excel even tries to do math, the apostrophe and space decide whether the entry looks like a formula, and calculation mode decides whether an existing formula updates.
Quantified context: how often each cause appears and how big the fallout is
Cause frequency is not published in a rigorous way, so treat any ranking as a working heuristic rather than a statistic. What can be stated with confidence is the behavior of each cause under testing. A cell pre-formatted as Text will reject every subsequent formula entry until the format is changed, regardless of how the formula is typed. A single leading apostrophe survives copy, paste, and save, which makes it the most persistent of the four causes. A stray space is the most easily missed because the formula bar can hide it at small font sizes.
The scale of the fallout depends on downstream dependency. A single text-stuck formula in a summary cell is cosmetic. A column of text-stuck formulas feeding a pivot table means the pivot reads zeros or blanks, and every chart and dashboard built on that pivot inherits the error. In a workbook with 10,000 formula cells, a format applied to the whole sheet before data entry can silently strand the entire calculation layer in one action.
Excel's own error-checking UI gives one measurable threshold. The green triangle error indicator appears when a cell contains a number stored as text, and Excel's conversion prompt appears for cells it recognizes as text-formatted numbers. It does not reliably flag a full formula stored as text, because the cell contains a string beginning with "=", which Excel may treat as intentional. That gap explains why whole columns can sit broken without a visible warning.
Dynamic arrays add a newer dimension. When a spilled array result cannot expand because the spill range is blocked, Excel returns #SPILL!. That is an error, not a text display, but it is frequently misdiagnosed as "the formula turned into text" because the cell shows an error string rather than numbers. Keeping these categories separate shortens troubleshooting.
Edge cases: imports, regional settings, and dynamic arrays
Imported data is the largest edge case. A CSV exported from a system that quotes every field arrives with quotation marks intact if the import settings are wrong, and a quoted formula becomes a literal string. The same happens with leading tabs or non-breaking spaces carried over from web pages and PDFs. These characters are invisible in the cell but block formula parsing, and Find and Replace often misses them because the search box cannot easily accept the exact character.
Regional settings create a subtler failure. In locales where the list separator is a semicolon, formulas copied from an English-language source using commas can be stored as text because the parser does not recognize the argument separator. The cell shows the formula as typed. Changing the separator to match the locale, or importing through a tool that normalizes it, resolves the issue.
Dynamic arrays introduce a new class of misdiagnosis. In Excel 365 and Excel 2021, a formula typed into a range that was pre-formatted as Text can be entered as an implicit intersection or legacy array, and the result may be a single text value rather than a spilled array. If the spill range is blocked, the cell shows #SPILL! rather than text. If the formula was entered with Ctrl+Shift+Enter in an older workbook and then opened in a newer one, the braces can persist and the behavior can differ from what the user expects.
A counterintuitive detail worth flagging: a cell can display text that looks like a formula result while the underlying cell still contains a live formula. This happens when the cell's format is Text but the formula was entered before the format was applied, or when the display is being driven by a custom number format that appends text. The formula bar is the arbiter, not the cell display. Professionals check the formula bar first, not the cell.
Red flags that a "text formula" is actually something else
The cell shows #NAME? or #VALUE! rather than a literal string. These are parse or evaluation errors, not text storage. The formula bar shows the formula but the cell shows an old value. Suspect Manual calculation mode or a circular reference. The cell shows #SPILL!. The formula is live; the spill range is blocked by adjacent content. Only some rows in a column fail. Suspect per-cell formatting, invisible characters, or mixed data types rather than a sheet-wide setting. The formula works in a new workbook but not the current one. Suspect workbook-level calculation settings or a protected sheet blocking recalculation. The cell contains a number with a leading apostrophe. That is the text-prefix flag, and it will propagate into lookups and comparisons.
Comparison of repair methods
| Method | Best for | What it does | Limitation |
|---|---|---|---|
| Clear format to General | Cells pre-formatted as Text | Re-enables formula parsing | Does not remove apostrophes or spaces |
| Re-enter with F2 then Enter | Single cells | Forces re-parse on commit | Slow for large ranges |
| Text to Columns | Imported columns | Strips prefix characters and re-types values | Can alter date and number formats |
| Find and Replace leading apostrophe | Bulk apostrophe cleanup | Removes the text-prefix flag | Apostrophe may be invisible in the search box |
| Multiply by 1 or add 0 | Numbers stored as text | Coerces to numeric | Destroys leading zeros and some IDs |
| Set calculation to Automatic | Stale values in live formulas | Forces recalculation on open | Does not fix text-stored formulas |
The table reveals the core reconciliation: the "convert to number" trick fixes text-stored numbers, not text-stored formulas. Applying it to a cell containing "=SUM(A1:A5)" as a string will not help, because the string is not a number. Match the method to the failure mode.
Timeline: how a formula becomes text and how repair proceeds
| Stage | What happens | Typical symptom |
|---|---|---|
| Pre-format | Sheet or column set to Text before entry | Every new formula stays literal |
| Entry | Formula typed or pasted into a Text cell | Formula bar shows the string, cell shows the string |
| Copy/paste | Apostrophe or leading space carried along | Formula looks clean but stays inert |
| Save and reopen | Text format persists; manual mode persists | Workbook opens with stale or literal values |
| Repair: format change | Format set to General | Existing strings do not convert automatically |
| Repair: re-parse | F2 then Enter, or Text to Columns | Formula compiles and calculates |
| Verification | Formula bar and recalculation check | Confirms live formula, not text |
The timeline exposes the most common mistake: changing the format after the fact does not convert existing strings. The format governs future entries, not past ones. The re-parse step is mandatory, which is why "I changed it to General and nothing happened" is a predictable complaint.
Practical actions with concrete thresholds
Start with the formula bar. Click the suspect cell and read the formula bar. If it shows a leading apostrophe, remove it. If it shows a leading space, delete it. If it shows the formula exactly as typed with no prefix, the cell is probably Text-formatted or the workbook is in Manual mode.
Check the number format next. Select the range and set the format to General. This is a format change, not a conversion, so follow it with a re-parse: press F2, then Enter, on each cell, or run Text to Columns on the column with the delimiter set to none. For ranges larger than a few hundred cells, Text to Columns is faster than manual re-entry.
Check calculation mode. Go to the Formulas tab and confirm Calculation Options is set to Automatic. If it is Manual, switch it and press F9 to recalculate. A workbook that opens with stale values on a colleague's machine but correct values on yours is a strong signal of manual mode or a calculation setting saved with the file.
Use a helper column to test. In an adjacent cell, enter =ISTEXT(A1) and =ISFORMULA(A1). A TRUE in the first and FALSE in the second confirms the cell holds a string, not a formula. This two-cell test distinguishes the text-storage failure from the calculation-mode failure in under ten seconds.
For imported data, clean before formatting. Import through Power Query or the Text Import Wizard, strip leading apostrophes and non-breaking spaces, and set column types explicitly. Applying a Text format before import is the most common way to strand an entire column.
One professional caveat: a workbook saved in Manual mode and shared with others can produce divergent results that look like text-stuck formulas. Before declaring a formula broken, confirm the file recalculates on open. This single check resolves a meaningful share of "it works on my machine" disputes.
Limitations and what this cannot tell you
Formula display behavior differs across Excel for Windows, Excel for Mac, Excel on the web, and LibreOffice Calc. The mechanics above are described for desktop Excel, and the Mac version has historically differed in its handling of the text-prefix apostrophe and in calculation settings persistence. If you are troubleshooting in another application, verify the behavior there before applying these steps.
No published figure quantifies how often each cause occurs in real workbooks, and any percentage would be invented. The ranking in this article is a working heuristic based on the persistence and visibility of each cause, not a measured distribution. Treat the comparison and timeline as diagnostic frameworks rather than epidemiological data.
Finally, this article cannot diagnose a specific workbook. Cell references, sheet protection, shared-workbook legacy features, and add-ins can each alter behavior in ways that require inspection of the actual file. The practical-actions section gives you a reproducible test sequence; applying it to your own workbook is the only way to confirm which layer is failing.