Cells in excel will not sum

Maintenance Alert: Saturday, April 15th, 7:00pm-9:00pm CT. During this time, the shopping cart and information requests will be unavailable.

Excel Formulas Not Calculating? How to Fix it Fast

Categories: Basic Excel

You’ve created the reports for your management meeting, and, just before you print copies for the executives, you discover that the totals are all showing last month’s values. How do you fix it—fast?

1. Check for Automatic Recalculation

On the Formulas ribbon, look to the far right and click Calculation Options. On the dropdown list, verify that Automatic is selected.

Fred Pryor Seminars_ Excel Formula Not Calculating 1

When this option is set to automatic, Excel recalculates the spreadsheet’s formulas whenever you change a cell value. This means that, if you have a formula that totals up your sales and you change one of the sales, Excel updates the total to show the correct sum.

When this option is set to manual, Excel recalculates only when you click the Calculate Now or Calculate Sheet button. If you prefer keyboard shortcuts, you can recalculate by pressing the F9 key. Manual recalculation is useful when you have a large spreadsheet that takes several minutes to recalculate. Instead of waiting impatiently while it recalculates after every change you make, you can set the recalculation to manual, make all of your changes, and then recalculate at once.

Unfortunately, if you set it to manual and forget about it, your formulas will not recalculate.

2. Check the Cell Format for Text

Select the cell that is not recalculating and, on the Home ribbon, check the number format. If the format shows Text, change it to Number. When a cell is formatted as Text, Excel makes no attempt to interpret the contents as a formula.

Fred Pryor Seminars_ Excel Formula Not Calculating 4

After you change the format, you’ll need to reconfirm the formula by clicking in the Formula Bar and then pressing the Enter key.

Note: If you format a cell as General and you discover that Excel is changing it automatically to text, try setting it to Number. When a cell formatted as General and the cell contains a reference to another cell, Excel copies the format of the referenced cell. Choosing any format other than General will prevent Excel from changing the format.

3. Check for Circular References

Look at the bottom of the Excel window for the words CIRCULAR REFERENCES.

Fred Pryor Seminars_ Excel Formula Not Calculating 5

Like circular logic, a circular reference is a formula that either includes itself in its calculation or refers to another cell which depends on itself. Be aware that a circular reference can, in some instances, prevent Excel from calculating a formula. Correct the circular reference and recalculate your spreadsheet.

Next Steps

You can fix most recalculation problems with one of these three solutions. Now, fix that report, and get ready for your meeting.

Or continue your Excel education here.

PRYOR+ 7-DAYS OF FREE TRAINING


Courses in Customer Service, Excel, HR, Leadership,
OSHA and more. No credit card. No commitment. Individuals and teams.

I am trying to use a very simple formula which is =SUM(B9:B11). However the cell doesn’t compute for some reason.

I’ve used Excel for years and have never had this problem. Any idea why it may be failing to update the SUM?

I’m using Excel 2007 on Windows 7 Pro. I’ve opened the spreadsheet on multiple different machines with the same results so it appears to be an issue with the spreadsheet itself and not Excel or the computer.

Additional Note: If I recreate the =SUM formula it will recompute the total. However, if I change one of the number it still doesn’t auto-recalculate.

Also, if I press F9 the SUM will recalculate being manually forced to.

Hennes's user avatar

Hennes

64.5k7 gold badges111 silver badges165 bronze badges

asked Jul 11, 2011 at 14:08

Windows Ninja's user avatar

Windows NinjaWindows Ninja

6827 gold badges19 silver badges35 bronze badges

3

Also do you have formula calculation set to Manual?

enter image description here

answered Jul 11, 2011 at 14:23

quickcel's user avatar

1

This happened to me when I changed my computer’s default language from English to French. In French, commas (,) are used instead of decimal points (.) in numbers, and vice versa. In Excel I was still writing numbers in the English format (3.42) when it was expecting a French format (3,42).

I fixed it by finding ‘Change the date, time or number format’ in the Start search box, clicking on Additional Settings, then changing the symbol for a decimal point to (.) instead of (,).

answered Feb 5, 2013 at 1:19

Paul Jones's user avatar

If a cell contains a circular reference, it will not autosum correctly (or at all). From the Formula tab, choose Error Checking>Circular Reference, trace it and then fix it.

answered Sep 25, 2013 at 13:17

Frances's user avatar

I was having the same symptom. The problem turned out to be a Circular Reference within the numbers I was attempting to sum. I used the formula audit tool and had it point to the circular reference (which I had overlooked). Once that was corrected, the SUM function worked as normal.

answered Apr 12, 2014 at 13:44

user315115's user avatar

Could one or more of B9:B11 be formatted as non-numeric?

answered Jul 11, 2011 at 14:22

BrianA's user avatar

BrianABrianA

1,57212 silver badges12 bronze badges

1

Even if the data cells B9-B11 have numbers in them, one or more of them may have their data type set as text instead of a number. I’ve done this more times than I can count!

DigDB has a quick how to and screenshots to change the type, try that and see:

http://www.digdb.com/excel_add_ins/convert_data_type_text_general/

answered Jul 11, 2011 at 14:23

Ruben Schade's user avatar

You can try using commas instead of dots as separators:

32,32 instead of 32.32

Matthew Williams's user avatar

answered Mar 11, 2014 at 13:01

Pedro's user avatar

PedroPedro

111 bronze badge

you need =SUM(b9:b11), not just SUM(b9:b11)

answered Jul 11, 2011 at 14:11

soandos's user avatar

soandossoandos

24.1k28 gold badges101 silver badges134 bronze badges

Sounds like the calculation order / dependencies are broken, so it does not recognise when to recalc that cell by itself.

Try forcing Excel to rebuild the calculation dependency tree, by pressing Ctrl+Shift+Alt+F9 and let it recalculate the whole lot.

answered Jul 15, 2011 at 8:08

AdamV's user avatar

AdamVAdamV

6,0281 gold badge22 silver badges38 bronze badges

For no good reason I can discern in my own case, the problem seemed to be the internal format of the time data itself, not the formatting of the function cell (and despite the fact I have formatted the entire column of numbers to various time formats and certain math functions like discrete addition yield the expected time based results)

Anyway, apply @timevalue to all data in the source time column and then paste the result(s) into a new column. It will look the same but the sum and subtotal functions will now work on the new column. Doesn’t seem it should be necessary, but there it is.

answered Dec 8, 2014 at 22:18

Snootpelt's user avatar

I’m stumped in Excel (version 16.0, Office 365). I have some cells that are formatted as Number, all with values > 0, but when I use the standard SUM() on them, it always shows a result of 0.0 instead of the correct sum. When I use + instead, the sum shows correctly.

For example:

  • SUM(A1:A2) shows 0.0
  • A1 + A2 shows 43.2

I don’t see any errors or little arrows on any of the cells.

asked May 16, 2020 at 14:01

Bryan Williams's user avatar

Bryan WilliamsBryan Williams

3991 gold badge4 silver badges15 bronze badges

1

Excel is telling you (in an obscure fashion) that the values in A1 and A2 are Text.

The SUM() function ignores text values and returns zero. A direct addition formula converts each value from text to number before adding them up.

answered May 16, 2020 at 14:11

Gary's Student's user avatar

Gary’s StudentGary’s Student

95.3k9 gold badges58 silver badges98 bronze badges

3

Using NUMBERVALUE() on each cell fixed it. Even though each cell was formatted as a Number, since the data was originally extracted from text, the cell contents apparently were NOT being treated as a Number. Yet another flaw in Excel.

answered May 16, 2020 at 14:06

Bryan Williams's user avatar

Bryan WilliamsBryan Williams

3991 gold badge4 silver badges15 bronze badges

6

I get a similar issue while importing from a csv.
Selecting the cell range and formatting as number did not help
Selected the cell range then under:
Data -> Data Tools -> Text to Columns -> next -> next -> finish
did the job and numbers are now turned into numbers that excel consider as numbers !
This avoids use of NUMBERVALUE()

answered Apr 23, 2022 at 9:58

asac's user avatar

0

There is a much faster way you just need to replace all the commas by points.
Do control-F, go to «Replace» tab, in «Find what» put «,» and in «Replace with» field put «.»

IBam's user avatar

IBam

9,3421 gold badge25 silver badges36 bronze badges

answered Aug 26, 2021 at 11:20

Moi's user avatar

1

I noticed that if the sum contains formulas if you have any issue with circular references they won’t work, go to Formulas—>Error checking—>Circular References and fix them

answered Nov 18, 2021 at 15:22

Angelica's user avatar

If there’s a tab in your .csv then Excel will interpret it as text rather than as white space. A number next to a tab will then be seen as text and not as a number. Convert your tabs to spaces with a text editor before letting Excel at it.

answered May 12, 2022 at 22:26

Vaughan Pratt's user avatar

1

Excel has made performing data calculations easier than ever! However, many things could go wrong with the application’s abundant syntax. Many users have reported certain formulas, including SUM not working on MS Excel. Some have reported the value changing to 0 when running the formula or having met with an error message.

Did you just relate to the situation we just mentioned? If you unfortunately have, don’t worry; we’ll help you solve it. Keep reading this article as we list why SUM may not work and how you can fix it!

The SUM function may not work on your Excel for a list of reasons. You could’ve made a typing error while entering the formula or used an incorrect format. Before hopping on to the solutions, you must understand the problem you’re dealing with.

  • Typing Error: We almost always overlook typing errors. However, even the most minor typing error can cause the most complex functions not to work.
  • Unsupported Format: In Excel, you have the feature to change the format of the data you’ve entered. If SUM isn’t working, the data you’re trying to manipulate may be set to text. Excel won’t add data that is set to the text format.
  • Unrecognized Symbol Used: This is mostly relevant to decimal and thousands separators. By default, the period and comma symbol, respectively, are used for each divider. If you’ve used these symbols incorrectly, the SUM function won’t work.
  • Show Formulas Enabled: You could’ve accidentally enabled the Show Formulas feature. When this feature is active, Excel will display the formula used to calculate the result instead of viewing the result.
  • Manual Calculation Enabled: If Excel doesn’t automatically recalculate the data you’ve changed from the selected cells, you’ve enabled Manual calculation.
  • Corrupted Program Files: The program files of your Excel may have gone corrupt. When the files get corrupted, the application won’t be able to complete some to all of its functions.

How to Fix the SUM Function in Excel?

You can easily fix a malfunctioning function in Excel on your own. After you’ve looked through the problems, you can move on to the solutions that sound more relevant to your problem. From each of the causes mentioned above, find the solutions below.

Look for Typos

Be sure you’ve written the function correctly. Additionally, see if you’ve used the correct symbols, such as the equals sign and parentheses. To call any function, you must use the equals sign first. Similarly, the parentheses sign is necessary before specifying the range of cells you want to add up.

Change Format

You’ll need to change the format of the selected entity to preferably Number to be able to perform any calculations on it. You can change the format of data from the Home ribbon on Excel.

Follow these steps to change the format of your data to Number on Excel:

  1. Open MS Excel to open your workbook.
  2. From the Menubar, make sure you’re on Home.
  3. On the Home Ribbon, locate the Number section.
  4. Select the drop-down menu. From the list of options, select Number.ChangeFormatExcel

Replace Unsupported Symbol

MS Excel uses the “.” symbol as a decimal separator by default. Excel won’t calculate the data if you use other symbols such as a comma (,) as a decimal separator. This is also true if you’ve any symbol except the comma symbol for the thousands divider.

If you have used these symbols incorrectly, find and replace the comma (,) symbol with the period (.) symbol and vice-versa.

Here are the steps to use the Find and Replace tool on Microsoft Excel:

  1. Open your document from Excel. 
  2. From your keyboard, hit the combination Ctrl + F
  3. In the Find and Replace window, head on to the Replace tab.
  4. Type in ‘,’ next to Find What. To swap it with the period symbol, type ‘.’ next to Replace with.
    replace
  5. Select Replace All.

Disable Show Formulas

To view the calculation results, you must turn off the Show Formulas option. You can disable this feature from the Formulas tab on the menu bar.

Follow these steps to disable the Show formula feature on MS Excel:

  1. Launch MS Excel to open your workbook.
  2. From the menu bar, hop on to Formulas.
    formula
  3. Locate the Formula Auditing section. 
  4. If the Show Formulas option is highlighted, select it to turn it off.
    formula-auditing
  5. Enable Automatic Calculation.

If you want Excel to automatically re-calculate the data you’ve changed, you need to set the calculation option to Automatic. You can find the calculation on the Formulas tab on the menu bar.

Here are the steps you can refer to enable automatic calculation on MS Excel:

  1. Open your workbook from Microsoft Excel. 
  2. Hop on to the Formulas tab from the menu bar.
  3. Navigate to the Calculations section.
  4. Drop down the menu for Calculation Options and select Automatic.EnableAutomaticCalculation

Repair the Office App (Windows)

You may have to repair the application for Microsoft Office. When you repair an application, your system scans for corrupted files and replaces them with new ones. As you cannot repair the Excel application individually, you’ll have to repair the entire Office application.

Follow these steps to repair the office app on your device:

  1. Use the combination Windows key + I to open the Settings application on your keyboard.
  2. From the panel to your left, select Apps.
  3. Hop on to Apps & Features, then scroll to Office.
  4. Next to the Office app, select the vertical three-dot menu.
  5. Select Advanced options.OfficeAppAdvancedOptions
  6. Scroll down to the Reset section, then select the Repair button.OfficeRepairApp

Содержание

  • Способ 1: Удаление текста в ячейках
  • Способ 2: Изменение формата ячеек
  • Способ 3: Переход в режим просмотра «Обычный»
  • Способ 4: Проверка знака разделения дробной части
  • Способ 5: Изменение разделителя целой и дробной части в Windows
  • Вопросы и ответы

Эксель не считает сумму выделенных ячеек

Способ 1: Удаление текста в ячейках

Чаще всего проблемы с подсчетом суммы выделенных ячеек появляются у пользователей, которые не совсем понимают, как работает эта функция в Excel. Подсчет не производится, если в ячейках присутствует вручную добавленный текст, пусть даже и обозначающий валюту или выполняющий другую задачу. При выделении таких ячеек программа показывает только их количество.
Выделение ячеек в Excel в текстовом формате для проверки результата суммы

Как только вы удалите этот вручную введенный текст, произойдет автоматическое форматирование формата ячейки в числовую. и при выделении пункт «Сумма» отобразится внизу таблицы. Однако это правило не сработает, если из-за этих самых надписей формат ячейки остался текстовым. В таких ситуациях обратитесь к следующим способам.

Выделение ячеек в Excel в формате числа для просмотра результата суммы

Способ 2: Изменение формата ячеек

Если ячейка находится в текстовом формате, ее значение не входит в сумму при подсчете. Тогда единственным правильным решением станет форматирование формата в числовой, за что отвечает отдельное меню программы управления электронными таблицами.

  1. Зажмите левую кнопку мыши и выделите все значения, при подсчете которых возникают проблемы.
  2. Выделение ячеек в Excel для перехода к изменению их формата при решении проблем с отображением их суммы

  3. На вкладке «Главная» откройте раздел «Ячейки» и разверните выпадающее меню «Формат».
  4. Открытие выпадающего меню для перехода к изменению формата ячеек Excel при решении проблемы с отображением их суммы

  5. В нем нажмите по последнему пункту с названием «Формат ячеек».
  6. Переход в меню изменения формата ячеек в Excel при решении проблемы с отображением их суммы

  7. Формат ячеек должен быть числовым, а его тип зависит уже от условий таблицы. Ячейка может находиться в формате обычного числа, денежного или финансового. Выделите кликом тот пункт, который подходит, а затем сохраните изменения.
  8. Выбор подходящего формата ячеек для решения проблемы с отображением их суммы в Excel

  9. Вернитесь к таблице, снова выделите те же ячейки и убедитесь, что их сумма внизу теперь отображается корректно.
  10. Результат изменения формата ячеек и подсчет их суммы в Excel

Способ 3: Переход в режим просмотра «Обычный»

Иногда проблемы с подсчетом суммы чисел в ячейках связаны с отображением самой таблицы в режиме «Разметка страницы» или «Страничный». Почти всегда это не мешает нормальной демонстрации результата при выделении ячеек, но при возникновении неполадки рекомендуется переключиться в режим просмотра «Обычный», нажав по кнопке перехода на нижней панели.

Переход в обычный режим просмотра таблицы в Excel для решения проблемы с подсчетом суммы выделенных ячеек

На следующем скриншоте видно то, как выглядит этот режим, а если у вас в программе таблица не такая, используйте описанную выше кнопку, чтобы настроить нормальное отображение.

Результат перехода в обычный режим просмотра таблицы в Excel при решении проблемы с подсчетом суммы выделенных ячеек

Способ 4: Проверка знака разделения дробной части

Практически в любой программе на компьютере запись дробей происходит в десятичном формате, соответственно, для отделения целой части от дробной нужно написать специальный знак «,». Многие пользователи думают, что при ручном вводе дробей разницы между точкой и запятой нет, но это не так. По умолчанию в настройках языкового формата операционной системы в качестве разделительного знака всегда используется запятая. Если же вы поставите точку, формат ячейки сразу станет текстовым, что видно на скриншоте ниже.

Lumpics.ru

Изменение разделителя целой и дробной части при решении проблемы с подсчетом суммы ячеек в Excel

Проверьте все значения, входящие в диапазон при подсчете суммы, и поменяйте знак отделения дробной части от целой, чтобы получить корректный подсчет суммы. Если невозможно исправить все точки сразу, есть вариант изменения настроек операционной системы, о чем читайте в следующем способе.

Результат изменения разделителя целой и дробной части при решении проблемы с подсчетом целой и дробной части выделенных ячеек в Excel

Способ 5: Изменение разделителя целой и дробной части в Windows

Решить необходимость изменения разделителя целой и дробной части в Excel можно, если настроить этот знак в самой Windows. За это отвечает особый параметр, для редактирования которого нужно вписать новый разделитель.

  1. Откройте «Пуск» и в поиске найдите приложение «Панель управления».
  2. Переход в панель управления Windows для изменения разделителя целой и дробной части

  3. Переключите тип просмотра на «Категория» и через раздел «Часы и регион» вызовите окно настроек «Изменение форматов даты, времени и чисел».
  4. Переход в раздел Изменение форматов даты, времени и чисел для изменения разделителя целой и дробной части в Windows

  5. В открывшемся окне нажмите по кнопке «Дополнительные параметры».
  6. Переход в дополнительные параметры форматов даты, времени и чисел для изменения разделителя целой и дробной части в Windows

  7. Оказавшись на первой же вкладке «Числа», измените значение «Разделителя целой и дробной части» на оптимальное, а затем примените новые настройки.
  8. Изменение типа разделителя целой и дробной части через Панель управления в Windows

Как только вы вернетесь в Excel и выделите все ячейки с указанным разделителем, никаких проблем с подсчетом суммы возникнуть не должно.

Еще статьи по данной теме:

Помогла ли Вам статья?

Need help with SUM formula issues? You’re in the right place ✅

by Matthew Adams

Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things… read more


Updated on December 23, 2022

Reviewed by
Alex Serban

Alex Serban

After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server… read more

  • Having issues with the Excel SUM formula not adding properly? Worry not, we got the solution.
  • Remember that you need to respect the formula syntax, so be sure you add it with the right commands.
  • Another potential cause may be the formatting of text as they can stop the SUM formula from showing up.
  • Navigate down below to find and apply the steps that will surely get you out of this issue.

Excel SUM Formula Not Adding Correctly

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

As a spreadsheet application, Excel is one big calculator that also displays numeric data in tables and graphs. The vast majority of Excel users will need to utilize the application’s SUM function (or formula). As the SUM function adds numbers up, it’s probably Excel’s most widely utilized formula.

The SUM function will never miscalculate numbers. However, SUM function cells don’t always display the expected results.

Sometimes they might display error messages instead of numeric values. In other cases, SUM formula cells might just return a zero value. These are a few ways you can fix an Excel spreadsheet not adding up correctly.

Why is the Excel SUM formula not adding correctly?

There are several reasons why the SUM formula in Excel might not be adding correctly. Some possible causes include:

  • The formula is using the wrong cell references: Make sure you are using the correct cell references in your formula, and that the cells being referenced are actually part of the data you want to sum.
  • There are hidden rows or columns that are being included in the calculation: If you have hidden rows or columns in your data, make sure they are not being included in the calculation by accident. You can check this by looking at the cell references in the formula and seeing if they include any hidden cells.
  • There are cells with text or errors in them: If there are cells in the range being summed that contain text or errors, the SUM formula will not work correctly. You can fix this by making sure all cells being summed contain only numerical data.
  • The cell format is set to text: If the cell format is set to text, the SUM formula will not work correctly. You can fix this by selecting the cells you want to sum, and then going to the Home tab in the ribbon and clicking on the “Number” dropdown in the “Number” group. Choose “General” or another number format from the list.
  • The formula has been entered incorrectly: Make sure you are using the correct syntax for the SUM formula, including the equal sign (=) and the open and close parentheses.

How can I fix Excel SUM functions that don’t add up?

In this article

  • Why is the Excel SUM formula not adding correctly?
  • How can I fix Excel SUM functions that don’t add up?
  • 1. Check the syntax of the SUM function
  • 2. Delete spaces from the SUM function
  • 3. Widen the formula’s column
  • 4. Remove text formatting from cells
  • 5. Select the Add and Values Paste Special options

1. Check the syntax of the SUM function

First, check you’ve entered the SUM function in the formula bar with the right syntax.

The syntax for the SUM function is:

=SUM(number 1, number 2)

Number 1 and number 2 can be a cell range, so a SUM function that adds the first 10 cells of column A will look like this: =SUM(A1:A10). Make sure there are no typos of any description in that function that will cause its cell to display a #Name? error as shown directly below.

#NAME? cell error excel spreadsheet not adding up correctly

2. Delete spaces from the SUM function

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

The SUM function does not add up any values when there are spaces in its formula. Instead, it will display the formula in its cell.

To fix that, select the formula’s cell; and then click in the far left of the function bar. Press the Backspace key to remove any spaces before the ‘=’ at the beginning of the function. Make sure there aren’t spaces anywhere else in the formula.

Function with spaces in it excel spreadsheet not adding up correctly

3. Widen the formula’s column

If the SUM formula cell displays #######, the value might not fit within the cell. Thus, you might need to widen the cell’s column to ensure the whole number fits.

To do that, move the cursor to the left or right side of the SUM cell’s column reference box so that the cursor changes to a double arrow as in the snapshot directly below. Then hold the left mouse button and drag the column left or right to expand it.

Narrow spreadsheet column excel spreadsheet not adding up correctly

4. Remove text formatting from cells

The Excel SUM function will not add up any values that are in cells with text formatting, which display text numbers on the left of the cell instead of the right side. To ensure all cells within a SUM formula’s cell range have general formatting. To fix this, follow these steps.

  1. Select all the cells within its range.
  2. Then right-click and select Format Cells to open the window shown directly belowFormat Cells window excel spreadsheet not adding up correctly
  3. Select General in the Category box.
  4. Click the OK button.
  5. The cells’ numbers will still be in text format. You’ll need to double-click each cell within the SUM function’s range and press the Enter key to switch its number to the selected general format.
    Cells with text format excel spreadsheet not adding up correctly
  6. Repeat the above steps for the formula’s cell if that cell displays the function instead of a value.

5. Select the Add and Values Paste Special options

Alternatively, you can add values in cells with text formatting without needing to convert them to general with this trick.

  1. Right-click an empty cell and select Copy.
  2. Select all the text cells with the function’s cell range.
  3. Click the Paste button.
  4. Select Paste Special to open the window shown directly below.Paste Special window excel spreadsheet not adding up correctly
  5. Select the Values and Add options there.
  6. Click the OK button. Then the function will add the numbers in the text cells.

Those are a few of the best ways you can fix Excel spreadsheet formulas that aren’t adding up correctly.

In most cases, the SUM function doesn’t add up because it hasn’t been entered right or because its cell reference includes text cells.

If you know of any other way to fix this Excel-related issue, leave a message in the comment section below so other users can try it.

newsletter icon

Newsletter

If you work with formulas in Excel, sooner or later you will encounter the problem where Excel formulas don’t work at all (or give the wrong result).

While it would have been great had there been only a few possible reasons for malfunctioning formulas. Unfortunately, there are too many things that can go wrong (and often does).

But since we live in a world that follows the Pareto principle, if you check for some common issues, it’s likely to solve 80% (or maybe even 90% or 95% of the issues where formulas are not working in Excel).

And in this article, I will highlight those common issues that are likely the cause of your Excel formulas not working.

So let’s get started!

Incorrect Syntax of the Function

Let me start by pointing out the obvious.

Every function in Excel has a specific syntax – such as the number of arguments it can take or the type of arguments it can accept.

And in many cases, the reason your Excel formulas are not working or gives the wrong result could be an incorrect argument (or missing arguments).

For example, the VLOOKUP function takes three mandatory arguments and one optional argument.

If you provide a wrong argument or don’t specify the optional argument (where it’s needed for the formula to work), it’s going to give you a wrong result.

For example, suppose you have a dataset as shown below where you need to know the score of Mark in Exam 2 (in cell F2).

Formula not working Dataset to get score

If I use the below formula, I will get the wrong result, because I am using the wrong value in the third argument (one that asks for Column Index number).

=VLOOKUP(A2,A2:C6,2,FALSE)

VLOOKUP function giving wrong result

In this case, the formula calculates (as it returns a value), but the result is incorrect (instead of score in Exam 2, it gives the score in Exam 1).

Another example where you need to be cautious about the arguments is when using VLOOKUP with the approximate match.

Since you need to use an optional argument to specify where you want VLOOKUP to do an exact match or an approximate match, not specifying this (or using the wrong argument) can cause issues.

Below is an example where I have the marks data for some students and I want to extract marks in Exam 1 for the students in the table on the right.

Dataset for VLOOKUP exact match

When I use the below VLOOKUP formula it gives me an error for some names.

=VLOOKUP(E2,$A$2:$C$6,2)

Wrong formula result due to missing argument

This happens as I have not specified the last argument (which is used to determine whether to do an exact match or approximate match). When you don’t specify the last argument, it automatically does an approximate match by default.

Since we needed to do an exact match in this case, the formula returns an error for some names.

While I have taken the example of the VLOOKUP function, in this case, this is something that can be applicable for many Excel formulas that have optional arguments as well.

Also read: Identify Errors Using Excel Formula Debugging

Extra Spaces Causing Unexpected Results

Leading, trailing spaces are hard to find out and can cause issues when you use a cell that has these in formulas.

For example, in the below example, if I try to use VLOOKUP to fetch the score for Mark, it gives me the #N/A error (the not available error).

Formula giving a NA error

While I can see that the formula is correct and the name ‘Mark’ is clearly there is the list, what I can not see is that there is a trailing space in the cell that has the name (in cell D2).

Extra Space in the lookup value

Excel doesn’t consider the content of these two cells the same and therefore it considers it a mismatch when fetching the value using VLOOKUP (or it could be any other lookup formula).

To fix this issue, you need to remove these extra space characters.

You can do this by using any of the following methods:

  1. Clean the cell and remove any leading/trailing spaces before using it in formulas
  2. Use the TRIM function within the formula to make sure any leading/trailing/double spaces are ignored.

In the above example, you can use the below formula instead to make sure it works.

=VLOOKUP(TRIM(D2),$A$2:$B$6,2,0)

While I have taken the VLOOKUP example, this is also a common issue when working with TEXT functions.

For example, if I use the LEN function to count the total number of characters in a cell, if there are leading or trailing spaces, these would also be counted and give the wrong result.

Take away / How to Fix: If possible, clean your data by removing any leading/trailing or double spaces before using these in formulas. If you can not change the original data, use the TRIM function in formulas to take care of this.

Using Manual Calculation Instead of Automatic

This one setting can drive you crazy (if you don’t know it’s what’s causing all the issues).

Excel has two calculation modes – Automatic and Manual.

By default, the automatic mode is enabled, which means that in case I use a formula or make any changes in the existing formulas, it automatically (and instantly) makes the calculation and gives me the result.

This is the setting we are all used to.

In the automatic setting, whenever you make any change in the worksheet (such as entering a new formula to even some text in a cell), Excel automatically recalculates everything (yes, everything).

But in some cases, people enable the manual calculation setting.

This is mostly done when you have a heavy Excel file with a lot of data and formulas. In such cases, you may not want Excel to recalculate everything when you make small changes (as it may take a few seconds or even minutes) for this recalculation to complete.

If you enable manual calculation, Excel will not calculate unless you force it to.

And this may make you think that your formula is not calculating.

All you need to do in this case is either set the calculation back to automatic or force a recalculation by hitting the F9 key.

Below are the steps to change the calculation from manual to automatic:

  1. Click the Formula tabFormulas tab
  2. Click on Calculation Options
  3. Select AutomaticSet the calculation to automatic

Important: In case you’re changing the calculation from manual to automatic, it’s a good idea to create a backup of your workbook (just in case this makes your workbook hang or makes Excel crash)

Take away / How to Fix: If you notice that your formulas are not giving the expected result, try something simple in any cell (such as adding 1 to an existing formula. Once you identify the issue as the one where calculation mode needs to be changed, do a force calculation by using F9.

Deleting Rows/Column/Cells Leading to #REF! Error

One of the things that can have a devastating effect on your existing formulas in Excel is when you delete any row/column which has been used in calculations.

When this happens, sometimes, Excel adjusts the reference itself and makes sure that the formulas are working fine.

And sometimes… it can not.

Thankfully, one clear indication that you get when formulas break on deleting cells/rows/columns is the #REF! error in the cells. This is a reference error that tells you that there is some issue with the references in the formula.

Let me show you what I mean by using an example.

Below I have used the SUM formula to add the cells A2:A6.

Formula to add cells

Now, if I delete any of these cells/rows, the SUM formula will return a #REF! error. This happens because when I deleted the row, the formula doesn’t know what to reference now.

Ref error when a row is deleted

You can see that the third argument in the formula has become #REF! (which earlier referred to the cell that we deleted).

Take away / How to Fix: Before you delete any data that is being used in formulas, make sure there are no errors after the deletion. It’s also recommended that you create a backup of your work regularly to make sure you always have something to fall back on.

Incorrect Placement of Parenthesis (BODMAS)

As your formulas start to get bigger and more complex, it’s a good idea to use parenthesis to be absolutely clear of what part belongs together.

In some cases, you may have the parenthesis at the wrong place, which can either give you a wrong result or an error.

And in some cases, it’s recommended to uses parenthesis to make sure the formula understands what needs to be grouped and calculated first.

For example, suppose you have the following formula:

=5+10*50

In the above formula, the result is 505 as Excel first does the multiplication and then the addition (as there is an order of precedence when it comes to operators).

If you want it to first do the addition and then the multiplication, you need to use the below formula:

=(5+10)*50

In some cases, the order of precedence may work for you, but it’s still recommended that you use the parenthesis to avoid any confusion.

Also, in case you’re interested, below is the order of precedence for various operators often used in formulas:

Operator Description Order of Precedence
: (colon) Range 1
(single space) Intersection 2
, (comma) union 3
Negation (as in –1) 4
% Percentage 5
^ Exponentiation 6
* and / Multiplication & division 7
+ and – Addition & subtraction 8
& Concatnenation 9
= < > <= >= <> Comparison 10

Take away / How to Fix: Always use parenthesis to avoid any confusion, even if you know the order of precedence and are using it correctly. Having parenthesis makes it easier to audit formulas.

Incorrect Use of Absolute/Relative Cell References

When you copy and paste formulas in Excel, it automatically adjusts the references. Sometimes, this is exactly what you want (mostly when you’re copy-pasting formulas down the column), and sometimes you don’t want this to happen.

An absolute reference is when you fix a cell reference (or range reference) so that it doesn’t change when you copy and paste formulas, and a relative reference is one that changes.

You can read more about absolute, relative, and mixed references here.

You may get an incorrect result in case you forget to change the reference to an absolute one (or vice versa). This is something that happens quite often to me when I am using lookup formulas.

Let me show you an example.

Below I have a dataset where I want to fetch the score in Exam 1 for the names in column E (a simple VLOOKUP use case)

Dataset for incorrect references

Below is the formula that I use in cell F2 and then copies to all the cells below it:

=VLOOKUP(E2,A2:B6,2,0)

Formula giving erorr because references are not locked

As you can see that this formula gives an error in some cases.

This happens because I haven’t locked the table array argument – it’s A2:B6 in cell F2, while it should have been $A$2:$B$6

By having these dollar signs before the row number and column alphabet in a cell reference, I am forcing  Excel to keep these cell references fixed. So, even when I copy this formula down, the table array will continue to refer to A2:B6

Pro Tip: To convert a relative reference to an absolute one, select that cell reference within the cell, and press the F4 key. You would notice that it changes by adding the dollar signs. You can continue to press F4 until you get the reference you want.

Incorrect Reference to Sheet / Workbook Names

When you refer to other sheets or workbooks in a formula, you need to follow a specific format. And in case the format is incorrect, you will get an error.

For example, if I want to refer to cell A1 in Sheet2, the reference would be =Sheet2!A1 (where there is an exclamation sign after the sheet name)

And in case there are multiple words in the sheet name (let’s say it’s Example Data), the reference would be =’Example Data’!A1 (where the name is enclosed in single quotes followed by an exclamation sign).

In case you’re referring to an external workbook (let’s say you’re referring to cell A1 in ‘Example Sheet’ in the workbook named ‘Example Workbook’), the reference will be as shown below:

='[Example Workbook.xlsx]Example Sheet'!$A$1

And in case you close the workbook, the reference would change to include the entire path of the workbook (as shown below):

='C:UserssumitDesktop[Example Workbook.xlsx]Example Sheet'!$A$1

In case you end up changing the name of the workbook or the worksheet to which the formula refers to, it’s going to give you a #REF! error.

Also read: How to Find External Links and References in Excel

Circular References

A circular reference is when you refer (directly or indirectly) to the same cell where the formula is being calculated.

Below is a simple example, where I use the SUM formula in cell A4 while using it in the calculation itself.

=SUM(A1:A4)

Although Excel shows you a prompt letting you know about the circular reference, it will not do it for every instance. And this may give you the wrong result (without any warning).

In case you suspect circular reference in play, you can check which cells have it.

To do this, click the Formula tab and in the ‘Formula Auditing’ group, click on the Error Checking drop-down icon (the small downward pointing arrow).

Hover the cursor over the Circular reference option and it will show you the cell that has the circular reference issue.

finding circular reference error in the worksheet

Cells Formatted as Text

If you find yourself in a situation where as soon as you type the formula as hit enter, you see the formula instead of the value, it’s a clear case of the cell being formatted as text.

Cell formatted as text

When a cell is formatted as text, it considers the formula as a text string and shows it as is.

It doesn’t force it to calculate and give the result.

And it has an easy fix.

  1. Change the format to ‘General’ from ‘Text’ (it’s in Home tab in the Numbers group)
  2. Go to the cell that has the formula, get into the edit mode (use F2 or double click on the cell) and hit Enter

In case the above steps don’t solve the problem, another thing to check is whether the cell has an apostrophe at the beginning. A lot of people add an apostrophe to convert formulas and numbers to text.

If there is an apostrophe, you can simply remove it.

Text Automatically Getting Converted into Dates

Excel has this bad habit of converting that looks like a date into an actual date. For example, if you enter 1/1, Excel would convert it to 01-Jan of the current year.

In some cases, this may be exactly what you want, and in some cases, this may work against you.

And since Excel stores date and time values as numbers, as soon as you enter 1/1, it converts it into a number representing the January 1 of the current year. In my case, when I do this, it converts it into the number 43831 (for 01-01-2020).

This could mess with your formulas if you’re using these cells as an argument in a formula.

How to fix this?

Again, we don’t want Excel to automatically pick the format for us, so we need to clearly specify the format ourselves.

Below are the steps to change the format to text so that it doesn’t automatically convert text to dates:

  1. Select the cells/range where you want to change the format
  2. Click on the Home tabClick the home tab
  3. In the Number group, click on the Format drop-down
  4. Click on TextSelect text as the formatting

Now, whenever you enter anything in the selected cells, it would be considered as text, and not changed automatically.

Note: The above steps would only work for data entered after the formatting has been changed. It will not change any text that has been converted to date before you made this formatting change.

Another example where this can be really frustrating is when you enter a text/number that has leading zeros. Excel automatically removes these leading zeros as it considers these useless. For example, if you enter 0001 in a cell, Excel will change it to 1. In case you want to keep these leading zeros, use the steps above.

Hidden Rows/Columns Can Give Unexpected Results

This is not a case of formula giving you the wrong result but of using the wrong formula.

For example, suppose you have a dataset as shown below and I want to get the sum of all the visible cells in column C.

Dataset for formulas not working

In cell C12, I have used the SUM function to get the total sale value for all these given records.

SUM formula to get the sum of the column

So far so good!

Now, I apply a filter to the item column to only show the records for Printer sales.

Same SUM value even after the filer is applied

And here is the problem – the formula in cell C12 still shows the same result – i.e., the sum of all the records.

As I said, the formula is not giving the wrong result. In fact, the SUM function is working just fine.

The issue is that we have used the wrong formula here.

SUM function can not account for the filtered data and give you the result for all the cells (hidden or visible). If you only want to get the sum/count/average of visible cells, use SUBTOTAL or AGGREGATE functions.

Key takeaway – Understand the correct use and limitations of a function in Excel.

These are some of the common causes that I have seen where your Excel formulas may not work or give unexpected or wrong results. I am sure there are many more reasons for an Excel formula to not work or update.

In case you know of any other reason (maybe something that irks you often), let me know in the comments section.

Hope you found this tutorial useful!

You may also like the following Excel tutorials:

  • How to Lock Formulas in Excel
  • How to Copy and Paste Formulas in Excel without Changing Cell References
  • Show Formulas in Excel Instead of the Values
  • Convert Text to Numbers in Excel
  • Convert Date to Text in Excel
  • Microsoft Excel Won’t Open; How to Fix it!
  • Arrow Keys not Working in Excel | Moving Pages Instead of Cells
  • 20 Advanced Excel Functions and Formulas

Bottom Line: Learn about the different calculation modes in Excel and what to do if your formulas are not calculating when you edit dependent cells.

Skill Level: Beginner

Watch the Tutorial

Watch on YouTube & Subscribe to our Channel

Download the Excel File

You can follow along using the same workbook I use in the video. I’ve attached it below:

Why Aren’t My Formulas Calculating?

If you’ve ever been in a situation where the formulas in your spreadsheet are not automatically calculating as they should, you know how frustrating it can be.

This was happening to my friend Brett. He was telling me that he was working with a file and it wasn’t recalculating the formulas as he was entering data. He found that he had to edit each cell and hit Enter for the formula in the cell to update.

And it was only happening on his computer at home. His work computer was working just fine. This was driving him crazy and wasting a lot of time.

The most likely cause of this issue is the Calculation Option mode, and it’s a critical setting that every Excel user should know about.

Calculation Options Manual or Automatic Calc Mode.

To check what calculation mode Excel is in, go to the Formulas tab, and click on Calculation Options. This will bring up a menu with three choices. The current mode will have a checkmark next to it. In the image below, you can see that Excel is in Manual Calculation Mode.

When Excel is in Manual Calculation mode, the formulas in your worksheet will not calculate automatically. You can quickly and easily fix your problem by changing the mode to Automatic. There are cases when you might want to use Manual Calc mode, and I explain more about that below.

Calculation Settings are Confusing!

It’s really important to know how the calculation mode can change. Technically, it’s is an application-level setting. That means that the setting will apply to all workbooks you have open on your computer.

As I mention in the video above, this was the issue with my friend Brett. Excel was in Manual calculation mode on his home computer and his files weren’t calculating. When he opened the same files on his work computer, they were calculating just fine because Excel was in Automatic calculation mode on that computer.

However, there is one major nuance here. The workbook (Excel file) also stores the last saved calculation setting and can change/override the application-level setting.

This should only happen for the first file you open during an Excel session.

For example, if you change Excel to manual calc mode before you save & close the file, then that setting is stored with the workbook. If you then open that workbook as the first workbook in your Excel session, the calculation mode will be changed to manual.

All subsequent workbooks that you open during that session will also be in manual calculation mode. If you save and close those files, the manual calc mode will be stored with the files as well.

The confusing part about this behavior is that it only happens for the first file you open in a session. Once you close the Excel application completely and then re-open it, Excel will return to automatic calculation mode if you start by opening a new blank file or any file that is in automatic calculation mode.

Therefore, the calculation mode of the first file you open in an Excel session dictates the calculation mode for all files opened in that session. If you change the calculation mode in one file, it will be changed for all open files.

Note: I misspoke about this in the video when I said that the calculation setting doesn’t travel with the workbook, and I will update the video.

The 3 Calculation Options

There are three calculation options in Excel.

Automatic Calculation means that Excel will recalculate all dependent formulas when a cell value or formula is changed.

Manual Calculation means that Excel will only recalculate when you force it to. This can be with a button press or keyboard shortcut. You can also recalculate a single cell by editing the cell and pressing Enter.

Automatic Except for Data Tables means that Excel will recalculate automatically for all cells except those that are used in Data Tables. This is not referring to normal Excel Tables that you might work with frequently. This refers to a scenario-analysis tool that not many people use. You find it on the Data tab, under the What-If Scenarios button. So unless you’re working with those Data Tables, it’s unlikely you will ever purposely change the setting to that option.

Data tab what if scenarios data tables

In addition to finding the Calculation setting on the Data tab, you can also find it on the Excel Options menu. Go to File, then Options, then Formulas to see the same setting options in the Excel Options window.

Under the Manual Option, you’ll see a checkbox for recalculating the workbook before saving, which is the default setting. That’s a good thing because you want your data to calculate correctly before you save the file and share it with your co-workers.

Excel Options Window Calculation Settings

Click to enlarge

Why Would I Use Manual Calculation Mode?

If you are wondering why anyone would ever want to change the calculation from Automatic to Manual, there’s one major reason. When working with large files that are slow to calculate, the constant recalculation whenever changes are made can sometimes slow your system. Therefore people will sometimes switch to Manual mode while working through changes on worksheets that have a lot of data, and then will switch back.

When you are in Manual Calculation mode, you can force a calculation at any time using the Calculate Now button on the Formulas tab.

Calculate now button for manual calculation mode

The keyboard shortcut for Calculate Now is F9, and it will calculate the entire workbook. If you want to calculate just the current worksheet, you can choose the button below it: Calculate Sheet. The keyboard shortcut for that choice is Shift + F9.

Here is a list of all Recalculate keyboard shortcuts:

Shortcut Description
F9 Recalculate formulas that have changed since the last calculation, and formulas dependent on them, in all open workbooks. If a workbook is set for automatic recalculation, you do not need to press F9 for recalculation.
Shift+F9  Recalculate formulas that have changed since the last calculation, and formulas dependent on them, in the active worksheet.
Ctrl+Alt+F9  Recalculate all formulas in all open workbooks, regardless of whether they have changed since the last recalculation.
Ctrl+Shift+Alt+F9 Check dependent formulas, and then recalculate all formulas in all open workbooks, regardless of whether they have changed since the last recalculation.
Source: Microsoft: Change formula recalculation article

Macro Changing to Manual Calculation Mode

If you find that your workbook is not automatically calculating, but you didn’t purposely change the mode, another reason that it may have changed is because of a macro.

Now I want to preface this by saying that the issue is NOT caused by all macros. It’s a specific line of code that a developer might use to help the macro run faster.

The following line of VBA code tells Excel to change to Manual Calculation mode.

Application.Calculation = xlCalculationManual

Sometimes the author of the macro will add that line at the beginning so that Excel does not attempt to calculate while the macro runs. The setting should then changed be changed back at the end of the macro with the following line.

Application.Calculation = xlCalculationAutomatic

This technique can work well for large workbooks that are slow to calculate.

However, the problem arises when the macro doesn’t get to finish—perhaps due to an error, program crash, or unexpected system issue. The macro changes the setting to Manual and it doesn’t get changed back.

As I mention in the video, this was exactly what happened to my friend Brett, and he was NOT aware of it. He was left in manual calc mode and didn’t know why, or how to get Excel calculating again.

Therefore, if you are using this technique with your macros, I encourage you to think about ways to mitigate this issue. And also warn your users of the potential of Excel being left in manual calc mode.

I also recommend NOT changing the Calculation property with code unless you absolutely need to. This will help prevent frustration and errors for the users of your macros.

Conclusion

I hope this information is helpful for you, especially if you are currently dealing with this particular issue. If you have any questions or comments about calculation modes, please share them in the comments.

Like this post? Please share to your friends:
  • Capitalize the word city
  • Capitalize the word all
  • Capitalize the word about
  • Cells in excel not summing
  • Capitalize the first word of a sentence