Summary

Have you entered a formula, but Excel is not showing a result? This can be very confusing, and you might think you've somehow broken your spreadsheet. However, it's likely a simple problem. With a little troubleshooting, you can get things working again.

Every once in a while, you might find Excel behaving in a bizarre or unexpected way. One example is when you accidentally trigger the scroll lock feature. Another example is when one or more formulas suddenly stops working. Instead of a result, you see only a formula, as in the screen below:

Broken formula - Excel shows formula but no result

The VLOOKUP formula is correct, why no result?

This can be very confusing, and you might think you've somehow broken your spreadsheet. However, it's likely a simple problem. With a little troubleshooting, you can get things working again. There are two main reasons you might see a formula instead of a result:

  1. You accidentally enabled Show Formulas
  2. Excel thinks your formula is text

I'll walk through each case with some examples.

Show Formulas is enabled

Excel has a feature called Show Formulas that toggles the display of formula results and actual formulas. Show Formulas is meant to give you a quick way to see all formulas in a worksheet. However, if you accidentally trigger this mode, it can be quite disorienting. With Show Formulas enabled, columns are expanded, and every formula in a worksheet is displayed with no results anywhere in sight, as shown below.

Show Formulas disabled

Show Formulas disabled (normal mode)

Show Formulas enabled

Show Formulas enabled

To check if Show Formulas is turned on, visit the Formula tab in the ribbon and check the Show Formulas button:

Show Formulas button on ribbon

Show Formulas enabled - just click to disable

The reason Show Formulas can be accidentally enabled is because it has a keyboard shortcut (Control +`)  that a user might accidentally type. Try typing Control + ` in a worksheet to see how it works. You should see formulas toggled on and off each time you use the shortcut.

Show Formulas toggles the display of every formula in a worksheet. If you are having trouble with a single formula, the problem isn't Show Formulas. Instead, Excel probably thinks the formula is text. Read on for more information.

Excel thinks your formula is text

If Excel thinks a formula is just text and not an actual formula, it will simply display the text without trying to evaluate it as a formula. There are several situations that might cause this behavior.

No equal sign

First, you may have forgotten the equal sign. All formulas in Excel must begin with an equal sign (=). If you leave this out, Excel will simply treat the formula as text:

Broken formula - no equal sign

Broken formula example - no equal sign (=)

Space before the equal sign

A subtle variation of this problem can occur if there is one or more spaces before the equal sign. A single space can be hard to spot, but it breaks the rule that all formulas must start with an equal sign, so it will break the formula as shown below:

Broken formula - space before equal sign

Formula wrapped in quotes

Finally, make sure the formula is not wrapped in quotes. Sometimes, when people mention a formula online, they will use quotes, like this:

"=A1"

In Excel, quotes are used to signify a text value, so if you enter a formula like this, the formula will not be evaluated. You can see an example of this in the screen below:

Broken formula - formula wrapped in quotes

Note: you are free to use quotes inside formulas. In this case, the formula above requires quotes around criteria. 

In all of the examples above, just edit the formula so it begins with an equal sign and all should be well:

Broken formula fixed

For reference, here is the working formula:

=SUMIFS(D5:D9,E5:E9,">30")

Cell format set to Text

Finally, every once in a while, you might see a formula that is well-formed in every way but somehow does not display a result. If you run into a formula like this, check to see if the cell format is set to Text.

Ribbon - cell format is set to Text

If so, set the format to General (Control + ~), or another suitable number format. You may need to enter cell edit mode (click into the formula bar, or use F2, then enter) to get Excel to recognize the format change. Excel should then recognize the formula.

After setting the format to General, you may need to enter the formula again to make Excel evaluate it properly.

Tip - Save formula in progress as text

Although a broken formula is never fun, you can sometimes use the "formula as text problem" to your advantage, as a way to save work in progress on a tricky formula. Normally, if you try to enter a formula in an unfinished state, Excel will throw an error, stopping you from entering the formula. However, if you add a single quote before the equal sign Excel will treat the formula as text and let you enter it without complaint. The single quote reminds you that the formula has been intentionally converted to text:

Save formula in progress

Later, you can resume work on the formula again, starting where you left off. See #17 in this list for more info.

Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.