Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Entering Formulas in Excel.

Entering Formulas in Excel

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


1

Excel allows you to use a special symbol—the equal sign—to indicate that you expect what you type next to be translated into a formula. Consider the following examples:

27 + 14
B2 + B3
= 27 + 14
= B2 + B3

At first glance, you might not see much difference between the first two examples and the last two. There is a big difference to Excel, however. The last two include equal signs, that special symbol for formulas. This means that Excel tries to perform the operation indicated in the formula—in this case, an addition operation. In the first two examples (without the equal signs), Excel translates the information as text.

There is one other way that you can enter formulas into Excel: through the use of an implied equal sign. You do this by prefacing the formula with a plus sign or a minus sign, as shown here:

-27 + 14
+B2 + B3

This method of entering formulas is archaic, at best, and supported in Excel only for compatibility with older spreadsheet programs. Once the formula is entered, Excel maintains the plus or minus sign, but automatically adds an equal sign to the start of the formula.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12330) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Entering Formulas in Excel.

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

Pasted Text Looks Like Hollow Squares

When you paste something into your document, you expect it to at least be readable. If, instead of letters, you see small ...

Discover More

Fitting Your Printout on a Page

Tired of wasting paper when you print a worksheet? You can scale Excel's output so that it fits only the number of pages ...

Discover More

Ensuring Unique Values in a Column

If you want to make sure that only unique values are entered in a particular column, you can use the data validation ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Moving the House Number to Its Own Cell

Excel is great at manipulating data, but sometimes it is difficult to figure out the best way to do the manipulation. ...

Discover More

Extracting File Names from a Path

If you have a full path designation for the location of a file on your hard drive, you may want a way for Excel to pull ...

Discover More

Extracting a State and a ZIP Code

Excel is often used to process or edit data in some way. For example, you may have a bunch of addresses from which you ...

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 2 + 2?

2022-04-23 10:52:18

Ken

The "=" key is in an awkward place while the "-" can be found with its friends on the number pad. If you want "-27 + 14" to equal 41 and not -13 enter two minus signs, a negative negative equals a positive.


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.