Formula Shows Instead of Formula Result

Written by Allen Wyatt (last updated September 21, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365


1

Steve notes that there are a few times when adding a formula to a cell in an existing worksheet (one he's worked with for quite a while) Excel ends up displaying the formula he typed instead of the result of the formula. It doesn't happen all the time, but Steve finds it quite confusing when it does.

There are a few possible reasons this may be happening. The first thing to check is that the cell isn't formatted as text. Select the problem cell and display the Home tab of the ribbon. In the Number Format drop-down list, make sure that a format other than Text is selected. After picking a different format, you'll need to "edit" the formula to force Excel to parse the formula as a formula. The easiest way is to simply press F2 and immediately press Enter; that should do it.

If your cell is not formatted as text, then it is very possible that you are suffering from "fat-finger syndrome." (Well, that's what I call it when I inadvertently hit the wrong keys.) Check your formula to make sure that it starts with an equal sign and that it doesn't have any other prefatory characters, such as a space, an apostrophe, a comma, etc. If the formula doesn't start with the equal sign as the first character, then Excel won't recognize it as a formula.

(I should note a small exception to the foregoing statement. You can also start a formula with either a plus sign or a minus sign. Those will also trigger Excel's "oh, this is a formula" button. Don't try any other prefatory characters, though—they won't work.)

Finally, it is also possible that you inadvertently instructed Excel to display formulas instead of formula results. This is done as you are typing by pressing Ctrl+`. (That last character is the accent grave; it is on the key just to the left of the 1 key and just above the Tab key.) This shortcut is a toggle; pressing it once displays formulas on the current worksheet and pressing it a second time displays the results of formulas.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (39) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Can't Save a Macro

Macros can make your use of Word faster and easier than ever before. What do you do, however, when you try to save a ...

Discover More

Determining if Calculation is Necessary

When processing a worksheet with a macro, it may be helpful to periodically recalculate the worksheet. Wouldn't it be ...

Discover More

Limiting Printing to a Workbook from a Set Location

When you share workbooks on a company server, it can be frustrating if the workbooks are downloaded to individual ...

Discover More

Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!

More ExcelTips (ribbon)

Calculating the Interval between Occurrences

With a long list of items in a worksheet, you may want to determine the last time a particular item appeared in the list. ...

Discover More

Filtering to a Standard Deviation

When you are working with large data sets, you may want to filter the information in those data sets according to various ...

Discover More

Checking for Either of Two Text Values

Using a formula to find information in a text value is easy. Using a formula to find either of two text values within a ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 + 5?

2024-09-21 08:11:52

AlexB

After making sure the cells with formulas as Text have had their formatting changed to anything other than text, using F2 then Enter 1 cell at a time will get quite tedious. If the formulas are in a column use Data > Text to columns or in the VBA immediate window enter "activesheet.usedrange.formula = activesheet.usedrange.formula" without the quote marks and hit enter.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.