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

Automatically Updating Fields and Links

You can update fields and links automatically when you print your document, but what if you want them updated when you open ...

Discover More

Changing Default Languages

Modifying the default language used by Word.

Discover More

Unwanted Data Changes

The AutoCorrect feature in Excel can change some of your data in ways you don't like. If you discover this is happening, ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Incrementing Numeric Portions of Serial Numbers

If you use serial numbers that include both letters and numbers, you might wonder how you can increment the numeric portion ...

Discover More

Counting Asterisks

For some operations and functions, Excel allows you to use wild card characters. One such character is an asterisk. What if ...

Discover More

Counting Consecutive Negative Numbers

If you have a range of values that can be either positive or negative, you might wonder how to determine the largest ...

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}] 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 six less than 6?

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?


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.