In this post I walk you through the process of building formulas, step-by-step. I’ll show you the proper way to create Excel formulas so you don’t get errors and you’ll discover some of the pitfalls you need to avoid.
Prefer to watch instead of read?
So, to kick things off …
Put simply, a formula is something that does something with existing data (e.g. add numbers) or analyses data in some way.
Do you remember all the stuff you learnt back in maths class at school?
Did you just shudder?
Well, luckily you don’t need to remember 99% of your high school maths to use Excel formulas (phew!) but the very simplest things you learnt, even at primary school, like add, subtract, multiply and divide are important because you use them a lot.
The absolute most basic thing you’re likely to do in Excel is total up some numbers. It doesn’t matter if you’re a complete beginner or an Excel mastermind, you still need to add stuff up sometimes, right?
There are 4 operations which you’ll need.
The symbol for add and subtract are straight forward. You use the ‘+’ and ’-‘.
But be careful. On a regular keyboard, you get the ’+’ by holding down Shift, but to get the ‘-’ you simply press the ’-‘ key. If you accidentally press Shift and ’-’ you’ll get an underscore character (_).
The symbol for multiply is ‘*’ (asterisk). Not ‘x’. Press Shift 8 on a regular keyboard.
The symbol for divide is ‘/’. There is no regular divide symbol on a computer keyboard.
If you have an extended keyboard, all the mathematical operators just mentioned (+, -, * and /) are situated around the edge of the number pad
Excel formulas can use a mixture of
IMPORTANT: Every formula must begin with a ‘=’.
If you were to select a cell and type 2+2, then press Enter, it simply displays 2+2.
However, when you start with ‘=’, this is a trigger that tells Excel to calculate an answer. So =2+2 would give an answer of 4.
You can also refer to cells when creating formulas. For example, =C1+C3 would calculate the total of the numbers in cells C1 and C3.
Here are some examples of simple formulas:
Either of these 2 methods can be used to enter a formula.
The formula bar is the large white box located between the toolbars and the column headers and to the right of the fx icon.
To cancel a formula (or changes to a formula), press Escape or left-click the cross to the left of the formula bar.
Any of the following techniques can be used to edit the contents of a cell.
The ‘+’ is on the same key as ‘=’ (on a regular keyboard). Typing
gives an answer of TRUE. Excel compares 2 against 2 and asks the question “Are these 2 values the same?” In this case they are.
would give an answer of FALSE because 2 does not equal 3.
Down the track, you can use this technique to your advantage to compare the values in 2 cells (e.g. =A1=A2) to see if they match (e.g. 2 totals).
If you create formulas that add up, let’s say, A1 and A2, you should always press Enter to complete the formula before moving to another cell.
Many people write a formula, let’s say
then instead of pressing ENTER to lock in the formula, instead click a random cell to finish (let’s say, G2). What happens is that the formula now reads
because A2 has been replaced by G2.
Always press Enter to finish your formula, then move onto the next thing.
When you create a formula that uses cell references, always click on the cell reference(s) you need.
For example, to create the formula A1+A2 you should:
Too many people type cell references directly into a formula. This creates two ways for errors to creep in.
So, minimise the possibility of errors by clicking the cell(s) you wish to use, as described above.
In part 2, I’ll show you how to use formula functions to make life easier, especially when you are working with lots of numbers.
Did this clear something up for you? If so, please share on your socials and/or post a brief comment below.
Likewise, if something didn't make sense or you have a question, pop it into the comments below. I'll be waiting ...
Cheers. Here's to your learning and success. Enjoy the rest of your day.
Please log in again. The login page will open in a new window. After logging in you can close it and return to this page.