Formulas Don't Calculate as Formulas

by Allen Wyatt
(last updated September 14, 2013)

8

When you enter information into a cell, Excel needs to determine how to treat that information. Should it be considered a date? A number? As a formula? Perhaps it is text? Excel interprets your cell entry according to a fairly well-defined set of rules. The "fallback" determination for a cell is to treat an entry as text.

You may notice something odd when entering information in a cell, however—Excel may always treat what you enter as text. For instance, you may enter a formula such as =B3 into a cell, with the expectation that the formula will be understood by Excel and the contents of cell B3 will be shown as a result of the formula. Excel, however, may simply display "=B3" in the cell, instead of the expected result.

If this happens to you, then Excel is not interpreting your cell entry as a formula, but as text. It is bypassing the normal parsing that goes on and instead jumping directly to the "fallback" determination of the cell containing text.

This problem happens most often when the cell into which you are entering information was previously formatted as text. In other words, someone used the Format Cells dialog box and explicitly formatted the cell as Text.

An easy way to correct this situation is to perform the following steps:

  1. Select the cell that contains the formula that is being interpreted as text.
  2. Choose Clear from the Edit menu, then choose Formats. This removes any formatting applied to the cell.
  3. Press F2. This puts the cell into edit mode.
  4. Immediately press Enter. This causes Excel to re-evaluate what is in the cell.

Your formula should now be treated as a formula instead of as text.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3087) applies to Microsoft Excel 97, 2000, 2002, and 2003.

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

Files Opening Slowly If Many Files Exist

Managing large numbers of documents in Word can lead to some interesting challenges. One potential challenge is that your ...

Discover More

Small Printing with Different Word Versions

A few places to check if the printout differs from the original document.

Discover More

Flush Left and Flush Right On the Same Line

Need to have some text at the left margin and some at the right, all on the same line? It's easy to do if you use your tab ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

MORE EXCELTIPS (MENU)

Returning Least-Significant Digits

Do you ever have a need to return just a few digits out of a number? This tip shows different formulas you can use to return ...

Discover More

Viewing Formulas versus Results

Sometimes it is helpful to see the actual formulas in a cell, rather than the results of those formulas. Here's how to make ...

Discover More

Deriving a Secant and Cosecant

Two rather common trigonometric functions are secants and cosecants. Excel doesn't provide functions to calculate these, but ...

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 for this tip:

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. 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 three minus 0?

2016-03-28 17:39:58

Sarah

the formula shows, I've formatted for numbers but it doesn't calculate. I also can't link it to a cell in another worksheet. It is bizarre.


2016-02-07 17:10:05

Julie

I'm try to compare 1 column values to other columns if a value is present. EXAMPLE on the L column L6:L330 has a value say x in all 330 rows and column 0 is 1 of 5 columns say O6:O330 only has 6 x's in all 330 rows WHAT does the formula look like to accomplish the count of the 6 x's in column O compared to column L ?


2016-01-27 00:34:33

Sivadas Manghat

Thanks. It is working


2015-11-05 13:34:03

LC

THANKS A LOT!


2015-10-02 03:37:54

Mike

Is it possible to do this for a huge block of cells without having to press F2 + Enter for every cell individually?


2015-07-02 14:56:35

PJE

That works, thank you.


2015-06-05 11:45:00

Tolu

Thanks alot. I have learnt something new


2014-11-21 01:13:22

Jake

Thank you. This is common when working with SAP related excels.
How can I do this for the whole table?


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.

Links and Sharing
Share