Show Formulas in Excel

Make sense of someone else’s workbook

When you are given a workbook that has already been created it can be hard to work out which cells contain manually entered values and which cells are the result of formulas. So how do you show formulas in Excel?

Below is an example workbook, at first glance it’s not easy to see how the figures in Qtr 1 and Qtr2 were generated. This is a problem if you need to maintain the workbook or check it’s formulas.

show formulas off

Excel can reveal the true contents of cells – so its easy to locate formulas in the sheet.

show formulas on

How you can show formulas in Excel:

There are two ways to switch this feature on. Using the Ribbon click on the Formulas tab and then click the Show Formulas button

Show Formulas in Excel
Show Formulas in Excel

 

The button is a toggle switch so click it to turn the feature on. Click again to turn it off.

You can also switch this feature on and off using the keyboard shortcut: Ctrl + `  (this symbol is usually on the key to the left of the number 1 key, in the top left corner of the keyboard. It is the grave accent character).

Tip: You can print the sheet with show formulas switched on to make it easier to review the construction of your workbook.

Additional Resources

A Hidden Gem In Excel – Formula Auditing

Hide an Excel formula and protect your workbook from unwanted changes

Introduction to the language of formulas in Excel

Excel formulas not working?

BODMAS Using Brackets

Save yourself from errors with the BODMAS rule

A question we often hear is “Why do we need to put Brackets in Excel Formulas?”

Some formulas that you use won’t need brackets.

If you write the formula =5+2+10,

Bodmas1

It will calculate the result as 17.

Bodmas 1b

There were no brackets in that formula, and it still calculated the correct result.

If we write the formula =5+2*5 we would expect the result of 5+2 which is 7, multiplied by 5 equalling 35.

Bodmas2

When we write the formula, the calculation returns 15 not 35.

Bodmas3

This has occurred because Excel doesn’t calculate the formulas left to right, it follows another set of rules.

Bodmas4

The priority order is referred to as BODMAS. Exponent or Power classifies as an Order, hence the O. It’s clear that Excel prioritises Divide and Multiplication over Addition and Subtraction. When we wrote =5+2*5, Excel calculated the 2*5 which is 10 and then lastly it added 5.

A pair of brackets has the highest calculation priority. If you wanted to force Excel to calculate different parts of your formula first you could place it withing a set of Brackets.

If we correct our formula by adding the brackets =(5+2)*5 we should now expect it to calculate the brackets first.

Bodmas5

Bodmas6

Adding the brackets has worked!

The 5+2 in the brackets was calculated first, and then it was multiplied by 5.

This explains why people use Brackets in Excel Formulas:

  • They are used to make Excel Calculate different parts of a formula in a specific order
  • Brackets work in pairs, if you open a Bracket you must always close it to complete the pair

 Additional resources:

What is a Bodmas formula and how to use it

BODMAS