Excel formulas not working, not updating, not calculating: fixes & solutions

This tutorial explains the most common mistakes when making formulas in Excel, and how to fix a formula that is not calculating or not updating automatically.

Can someone imagine using Microsoft Excel without formulas? I believe no one can. And hardly anything could compare to the frustration caused by Excel formulas stop working all of a sudden. When this happens, a bunch of questions immediately flash across your mind. Why is my Excel formula not calculating? Why doesn't this formula update its value automatically? Is my Excel corrupt or is this due to some malicious virus? And how do I get my Excel to calculate and update formulas automatically again? Don't worry, most likely your Excel is all right, and you will get all the answers in a moment.

Excel formulas not working

Symptoms: Excel formula not working correctly, it returns an error or a wrong result.

This section provides a summary of the most common mistakes people make when creating formulas in Excel and solutions to fix them.

1. Match all opening and closing parentheses in a formula

As you know, the arguments of Excel functions are entered within the parentheses. In complex formulas, you may need to enter more than one set of parentheses, one within another, to indicate the order in which the calculations should take place. When creating such a formula, be sure to pair the parentheses properly so that you always have a right parenthesis for every left parenthesis in your formula.

Microsoft Excel displays the parentheses pairs in different colors as you enter them in a formula. If your formula is short of one or more parentheses, Excel displays an error message and suggests a correction to balance the pairs. Please see How to highlight and match parenthesis pairs for more information.

2. Enter all required arguments in an Excel function

All Excel functions have one or more required arguments. Some functions also have optional arguments, which are enclosed in [square brackets] in the formula's syntax.

A formula must contain all of the required arguments, otherwise Excel displays "You've entered too few arguments for this function" alert.

If you have entered more arguments than allowed by the formula's syntax, you will get "You've entered too many arguments for this function" error message.

3. Do not nest more than 64 functions in a formula

When nesting two or more Excel functions into each other, e.g. creating a nested IF formula, remember about the following limitations:

  • In Excel 2016, Excel 2013, Excel 2010 and Excel 2007, you can use up to 64 nested functions.
  • In Excel 2003 and lower, only up to 7 nested functions can be used.

4. Don't enclose numbers in double quotes

In Excel formulas, any value enclosed in double quotes is interpreted as a text string.

What it means is that if you enter a formula like =IF(A1>0, "1"), Excel will treat number 1 as text, and therefore you won't be able to use the returned 1's in other calculations. To fix this, just remove the double quotes around "1": =IF(A1>0, 1).

So, whenever you are writing a formula for numerical values, follow this simple rule: don't enclose numbers in double quotes unless you want them to be treated as text.

5. Enter numbers without any formatting

When using a number in an Excel formula, don't add any decimal separator or currency sign like $ or €.

Remember that in Excel formulas, a comma is typically used to separate a function's arguments, and the dollar sign makes an absolute cell reference.

For instance, instead of entering $50,000 in your formula, input simply 50000, and use the Format Cells dialog (Ctrl + 1) to format the output to your liking.

6. Make sure numbers are not formatted as text values

Numbers formatted as text values are another common reason for Excel formulas not working. At first sight, they look like normal numbers, but Microsoft Excel perceives them as text strings and leaves out of calculations.

The visual indicators of text-numbers are as follows:

  • Numbers formatted as text are left-aligned by default, while normal numbers are right-aligned in cells.
  • The Number Format box on the Home tab in the Number group displays the Text format.
  • When several cells with text numbers are selected on the sheet, the Status Bar only shows Count, while usually it shows Average, Count and SUM for numbers.
  • There may be a leading apostrophe visible in the formula bar, or green triangles appear in the top-left corner of the cells.

The below screenshot shows that even a simple Excel SUM formula may not work because of numbers formatted as text:
Excel SUM formula not working because of numbers formatted as text values.

To fix this, select all problematic cells, click the warning sign, and then click Convert to Number:
Select cells with numbers formatted as text, click the warning sign, and then click Convert to Number.

In some cases, however, neither green triangles nor the warning sign appear in cells. For example, if you enclose numeric values in double quotes in your formulas, Excel assumes you want to output a text string rather than a number.

At first sight, the following formula appears to be working fine:
=IF(A1="Good", "1", "0")

But the problem is the returned 1's and 0's are text values, not numbers! And if you reference any cells with the above formula in other formulas, those cells won't be included in calculations. As soon as you remove "" surrounding 1 and 0 in the above formula, Excel will treat the outputs as numbers and they will be calculated correctly.

If the small green triangles do not appear in cells for some other reason, look at the Number Format box on the Home tab in the Number group. If it displays Text, try clearing all formatting for the problematic cells, and set the cells' format to Number or General. If that doesn't work, you might have to create a new column, manually input the data (e.g. copy your text-numbers to Notepad, and then back to a new column), and delete the broken column.

Another possible solution is to multiply the values in the problematic column by 1 using a simple formula like =A1*1. And then, copy the formula cells and paste them as values in the same or in any other column via Paste Special > Values.

7. Separate function arguments with a proper character

Most of us are used to separating function arguments with commas. However, this does not work for everyone's Excel. The character you use to separate arguments depends on the List Separator set in your Regional Settings.

Comma is the default list separator in North America and some other countries. In European countries, comma is used as the decimal symbol and the list separator is usually set to semicolon.

For example, in North America you would write =IF(A1>0, "OK", "Not OK"), while European users of Excel should put the same formula as =IF(A1>0; "OK"; "Not OK").

So, if your Excel formulas are not working because of "We found a problem with this formula..." error, go to your Regional Settings (Control Panel > Region and Language > Additional Settings) and check what character is set as List Separator there. And then, use exactly that character to separate arguments in your Excel formulas.

8. Enclose workbook and worksheet names in single quotes

When referring to other worksheets or workbooks that have spaces or non-alphabetical characters in their names, enclose the names in 'single quotation marks'. For example,

Reference to another sheet:
=SUM('Jan Sales'!B2:B10)

Reference to another workbook:
=SUM('[2015 Sales.xlsx]Jan sales'!B2:B10)

For more information, please see How to refer to another sheet or workbook in Excel.

9. Include the full path to a closed workbook

If you are writing a formula that references a closed Excel workbook, your external reference must include the workbook name and entire path to the workbook. For example:

=SUM('D:\Reports\[Sales.xlsx]Jan'!B2:B10)

For more information, please see Creating a reference to another workbook.

If the above tips do not help, try to evaluate and debug each part of your formula individually by using the F9 key and other debugging techniques explained in the following tutorial: How to evaluate and debug formulas in Excel.

Excel formulas not updating

Symptoms: The value returned by your Excel formula does not update automatically, i.e. the formula continues to show the old value even after you've changed the values of the dependent cells.

When Excel formulas are not updating automatically, most likely it's because the Calculation setting has been changed to Manual instead of Automatic. To fix this, just set the Calculation option to Automatic again.

On the Excel ribbon, go to the Formulas tab > Calculation group, click the Calculation Options button, and select Automatic:
For Excel formulas to update automatically, enable 'Automatic' under Calculation Options.

Alternatively, you can change this setting in Excel Options:

  • In Excel 2003, click Tools > Options > Calculation > Calculation > Automatic.
  • In Excel 2007, click Office button > Excel options > Formulas > Workbook Calculation > Automatic.
  • In Excel 2010, Excel 2013, and Excel 2016, go to File > Options > Formulas > Calculation options section, and select Automatic under Workbook Calculation.

Another way to turn on the Automatic Calculation setting.

How to force Excel formulas to recalculate

If for some reason, you need to have the Calculation option set to Manual, you can force the formulas to recalculate by clicking the Calculate button on the ribbon or by using one of the following shortcuts:

To recalculate the entire workbook:

  • Press F9, or
  • Click the Calculate Now button on the Formulas tab > Calculation group.

To recalculate an active sheet:

  • Press Shift + F9, or
  • Click Calculate Sheet on the Formulas tab > Calculation group.

Click the Calculate Sheet button to force the active sheet's formulas to recalculate.

To recalculate all sheets in all open workbooks, press Ctrl + Alt + F9.

If you need to recalculate only one formula on a sheet, select the formula cell, enter the editing mode either by pressing F2 or double clicking the cell, and then press the Enter key.

Excel formulas not calculating

Symptoms: A cell displays the formula, not the result.

If your Excel formula is not working because a cell displays the function instead of the calculated value, it's because one of the following reasons.

1. Show Formulas mode is turned on

The most common reason for an Excel formula not calculating is that you have inadvertently activated the Show Formulas mode in a worksheet.

To get the formula to display the calculated result, just turn off the Show Formulas mode by doing one of the following:

  • Pressing the Ctrl + ` shortcut, or
  • Clicking the Show Formulas button on the Formulas tab > Formula Auditing group.

To get Excel formulas to display the calculated results, turn off the Show Formulas mode.

2. A formula is entered as text

Another frequent reason for your Excel formula not calculating is that the formula has been formatted as text. To check this, select the formula cell, and look at the Number Format box in the Number group on the Home tab:
A formula formatted as text is not calculating.

If it is the case, change the cell format to General, and while in the cell press F2 and Enter for the formula to recalculate and display the calculated value.

3. A formula cell has a leading space or apostrophe before the equal sign

If you have inadvertently entered a space or apostrophe (') before the equal sign, Excel treats the cell contents as text, and consequently does not evaluate any formula within that cell (a leading space often appears when you copy a formula from the web). To fix this, just remove the leading space or single quote.
When a space or apostrophe precedes the equal sign, Excel treats the cell contents as text and does not evaluate the formula.

This is how you deal with formulas not working in Excel. If you know any other solutions to fix formulas not updating or not calculating, please do share in comments. I thank you for reading and hope to see you on our blog next week.

454 comments

  1. This week I noticed that my formulas in my time tracking for work just stopped calculating correctly. All of a sudden this one document became locked and when I unlocked it nothing seems to work right. Two of my coworkers experienced this as well with completely random worksheet they are working on.

    The only solution that seemed to have worked to fix the problem is to repaste it into a brand new excel doc. I regenerated the formulas for one area and when I just tried to paste the Formulas with special paste feature it still is pasting the values as swell. To me it seems like a glitch has occurred with Microsoft itself. Please help

  2. Nice Suggestion it worked, Mine was the Formula option accidentally chosen as Manual not i changed to Automatic, It is working now

  3. I have a cell (F17) which calculates how many years between dates. The result of this formula needs to be looked at by an If function to return a value: =IF(F17=2,1,IF(F17=3,2,IF(F17=4,3,IF(F17=5,4,IF(F17>5,5)))))

    i.e if cell F17 is 3 years, return 2 etc

    It does not recognise the formula result in the cell calculating the years.

    Any solutions?

    • Hi Nigel,

      Your IF formula is correct. And what formula do you use to calculate years (F17)?

      • Hi,

        Just realised I should have used the DatedIf function. Just changed it and it now works. Thanks for getting back to me. I knew it had to be simple error on my part.

        Cheers

  4. My formulas are not calculating correctly. The sum is incorrectly calculated as "0". I have followed various recommendations including checking that formulas are set to calculate automatically. I have converted any cells set as text to numbers etc. Please help. Thanks.

    • Hello Karina,

      Please check is your SUM formula does not make a circular reference. For example, if you are totaling a column using a formula like SUM(A:A) and input that formula in any cell of column A, the formula will return 0. If it's not the case, you can send us your sample worksheet (support@ablebits.com) and we will try to help.

  5. Why is that the help function (fx) shows the correct answer but the cell is returning the wrong value.

    • Hi Mary,

      Sorry, it's difficult to determine the source of the problem without seeing your formula and data. If you can send us your sample worksheet at support@ablebits.com, we will try to help.

  6. thank you, a simple explanation on automatic calculation saves my day

  7. Hi,

    My Vllokup formula was working till Friday now it isnt taking the table array data from a different file (source file), what should i do to make it work. I tried copying the entire data and opening in new workbook too it isnt working either.

  8. I have Excel 2010 and I am having trouble getting correct calculations in simple formulas: =A10 + B10
    In cases where the cell values are currency with $ the answer comes up wrong by pennies.
    Why so?

  9. Dear ,

    How to get due date email from my excel sheet 2010 automatically,

    Thanks

    Arif

  10. Very Helpful..!!
    thank u sooo much

  11. The following formula is not working on a mac excel worksheet.
    =OFFSET($G2,0,MATCH($B$1,$G$1:$L$1,0)-1)
    although it seems to work just fine on PCs. Any ideas?

  12. Thanks very helpful

  13. I have copied and pasted (value) a new column of formulas in my spreadsheet and updated the date for the new period of data. However, the new column of data just won't update. I have tried deleting and re pasting the column and have checked the formula is consistent. Rechecked the date field is formatted as a date. Running out of ideas as to what else I could do.

  14. excel formula for the following please: Joe appears in B2 and D6; I want that when this happens, the answer should be CIS in another cell. Can some provide me with the formula? Rgds

  15. i am having 23+56+89 in cell a2. i want to calculate value of cell a2 i.e, result should be 168. data was uploaded by third party and 8000 such cell needs to be calculated. is there in function to calculate the text from formulatext function.

  16. Thanks!!

  17. very helpful tq much appreciated

  18. Hi,
    I have created vba to creatable from the consolidated data in a sheet1. After a table structure is created, the macro will populate the values based on the formula.

    in my macro there are 3 tables. the 1st table is getting created with appropriate values based on the formula. during the process od 2nd and 3rd table, formula which is applied for grandtotal sums the above table. This is the area where the error is starting and proceeds the same for the remaining tables.

    I don't have any issues when this macro is run in my system. when this gets run on the other system, this error occurs. Any fix for this. EXCEL 2013

  19. Thank you!

  20. I tried all of the fixes and they did not help, most of which were already OK, such as formatting everything as General. Only one formula is not updating. It is of this form: ="Manager Name Is "&R32, where R32 is just a cell where you input a manager name. Everything is formatted as General. If I hit F9, it does not help. However, if I simply move to another worksheet, then move back, it updates. Actually, fortunately, if I do file print, it updates. I cleared the row, deleted the row, and typed formula back in, with no luck. Tried doing it on a fresh empty file, and same problem there too. Given the problem exists even on a new file, does this mean my installation of EXCEL is corrupted? Thanks.

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)