This page lists a few Excel formula tips that are useful to bear in mind when inputting large numbers of functions or complex Excel formulas:
Many errors in Excel formulas are caused by a failure to fully understand the order in which mathematical operators are evaluated.
If in doubt, use brackets to isolate parts of the formula that you need to be executed first.
If you are getting confused with a long, complicated formula, break the formula down into different cells.
For example, instead of typing the following long formula:
Break it down into the two shorter formulas, as shown below:
This has the advantage of being simpler, as well as being less prone to errors. It is also more efficient, as it avoids the duplicated call to the VLOOKUP function.
Use ALT-ENTER to insert a line break in an Excel cell.
(ie. press the ALT key, and while this is pressed down, press the ENTER key).
When you are using creating complex Excel formulas, it is easy to quickly become confused and lose count of brackets.
However, if line breaks are inserted between each of the 'if' functions, the whole formula becomes much clearer:
|if(A1>2,"Low","Very Low") ) ) )|
By default, Excel will recalculate the formulas on your spreadsheet every time you make a change to any of the cells that the formulas depend on. This is useful, as it means that your spreadsheet is always up-to-date.
However, if you are working with large amounts of data, this recalculation can take several seconds. In this case, it is not practical to allow the spreadsheet to freeze while it updates its formulas, every time you enter a new value - you can quickly end up in the position where you simply cannot continue to work on the spreadsheet.
If you find yourself in this position, you may want to 'switch off' Excel's Automatic formula updates while you are working on your spreadsheet and then turn them back on again later.
Warning: If you do switch off the Automatic calculation option, make sure you remember to switch it back on again afterwards, or there is a risk that you will become very confused when your formulas fail to update!!
The option to activate or deactivate Excel Automatic cell calculation is located in different places, in different versions of Excel: