The tutorial shows how to do arithmetic calculations in Excel and change the order of operations in your formulas.
When it comes to calculations, there is almost noting that Microsoft Excel cannot do, from totaling a column of numbers to solving complex linear programming problems. For this, Excel provides a few hundred predefined formulas, called Excel functions. In addition, you can use Excel as a calculator to do math - add, divide, multiply, and subtract numbers as well as raise to power and find roots.
How to do calculations in Excel
Making calculations in Excel is easy. Here's how:
- Type the equal symbol (=) in a cell. This tells Excel that you are entering a formula, not just numbers.
- Type the equation you want to calculate. For example, to add up 5 and 7, you type =5+7
- Press the Enter key to complete your calculation. Done!
Instead of entering numbers directly in your calculation formula, you can put them in separate cells, and then reference those cells in your formula, e.g. =A1+A2+A3
The following table shows how to perform basic arithmetic calculations in Excel.
Operation | Operator | Example | Description |
Addition | + (plus sign) | =A1+A2 | Adds up the numbers in cells A1 and A2. |
Subtraction | - (minus sign) | =A1-A2 | Subtracts the number in A2 from the number in A1. |
Multiplication | * (asterisk) | =A1*A2 | Multiplies the numbers in A1 and A2. |
Division | / (forward slash) | =A1/A2 | Divides the number in A1 by the number in A2. |
Percent | % (percent) | =A1*10% | Finds 10% of the number in A1. |
Raising to power (Exponentiation) | ^ (caret) | =A2^3 | Raises the number in A2 to the power of 3. |
Square root | SQRT function | =SQRT(A1) | Finds the square root of the number in A1. |
Nth root | ^(1/n) (Where n is the root to find) |
=A1^(1/3) | Finds the cube root of the number in A1. |
The results of the above Excel calculation formulas may look something similar to this:
Apart from that, you can combine values from two or more cells in a single cell by using the concatenation operator (&) like this:
=A2&" "&B2&" "&C2
A space character (" ") is concatenated in between cells to separate the words:
You can also compare cells by using logical operators such as "greater than" (>), "less than" (<), "greater than or equal to" (>=), and "less than or equal to" (<=). The result of comparison are logical values of TRUE and FALSE:
The order in which Excel calculations are performed
When you do two or more calculations in a single formula, Microsoft Excel calculates the formula from left to right, according to the order of operations shown in this table:
Precedence | Operation |
1 | Negation, i.e. reversing the number sign, as in -5, or -A1 |
2 | Percent (%) |
3 | Exponentiation, i.e. raising to power (^) |
4 | Multiplication (*) and division (/), whichever comes first |
5 | Addition (+) and subtraction (-), whichever comes first |
6 | Concatenation (&) |
7 | Comparison (>, <, >=, <=, =) |
Since the order of calculations affects the final result, you need to know how to change it.
How to change the order of calculations in Excel
Like you do in math, you can change the order of Excel calculations by enclosing the part to be calculated first in parentheses.
For example, the calculation =2*4+7
tells Excel to multiply 2 by 4, and then add 7 to the product. The result of this calculation is 15. By enclosing the addition operation in parentheses =2*(4+7)
, you instruct Excel to add up 4 and 7 first, and then multiply the sum by 2. And the result of this calculation is 22.
Another example is finding a root in Excel. To get the square root of, say, 16, you can use either this formula:
=SQRT(16)
or an exponent of 1/2:
=16^(1/2)
Technically, the above equation tells Excel to raise 16 to the power of 1/2. But why do we enclose 1/2 in parentheses? Because if we don't, Excel will raise 16 to the power of 1 first (an exponent operation is performed before division), and then divide the result by 2. Since any number raised to the power of 1 is the number itself, we would end up dividing 16 by 2. In contrast, by enclosing 1/2 in parentheses you tell Excel to divide 1 by 2 first, and then raise 16 to the power of 0.5.
As you can see in the screenshot below, the same calculation with and without parentheses produces different results:
This is how you make calculations in Excel. I thank you for reading and hope to see you on our blog next week!
80 comments
Hi, how do you formulate a cell to pull information from another cell but it needs to Show 1 as 5, 2 as 4, 3 as 3, 4 as 2 and 5 as 1?
is there a formula from this?
Hello!
I recommend using the CHOOSE function.
=CHOOSE(A1,5,4,3,2,1)
You can learn more about CHOOSE function in Excel in this article on our blog.
My wookbook is no longer calculate automatically because I add extra column, please assist on how I'm going to fix this calculation situation
Hi,
This tutorial explains the basics of Excel calculation settings and how to recalculate Excel formulas automatically and manually.
Calculate pensions at 9% ..
In wages ..
Hi. Is there a formula to count how many times a certain number appears in a column? I have a spreadsheet with 0, 1, 2, and 3s in each column. I have to manually count how many 1s, 2s, and 3s and enter it into a different table to create graphs. It's painstaking work. Is there a formula instead to do the calculation? Thank you
Hello!
Solve your problem with the COUNTIF function. Read more in this guide.
I hope it’ll be helpful.
125 minus 45.98 minus 7.98 multiple 10000
Hello!
How I can sum only the number from cells like this FR - 1?
I need to create a formula in a cell that changes based on the value in another cell.
For example, if the value in cell R2 is "E" i want to calculate 8.5% of cell I2 and display this in cell S2 AND if R2 is 'N' I want to calculate 13.5% of cell I2 and display this in cell S2 instead
Is this possible, and if so can someone please provide the formula?
Hello!
Use IF function -
=IF(R2="E",I2*8.5%,IF(R2="N",I2*13.5%,""))
Please have a look at this article - Nested IF in Excel – formula with multiple conditions
Hi, I need to know that which formula i can put for my attendance report for On Time, Late inn, Early Out, Absent. Please help me out for this.
Hi,
Your task is not completely clear to me. Without seeing your data it is difficult to give you any advice. Please describe your problem in more detail. Provide me with an example of the source data and the expected result. It’ll help me understand it better and find a solution for you.
hi I would like to know how to calculate on excel and learning ad doing = but it show B4:bc what should I do them thanks
how to compute or solution in this equation in excel 15^5*3+10+2(6)=? thank u.
Thank you. Is possible to add an equal sign before a value in excel automatically?
Thx. And now how to hide = in cell A1?
Hi,
Use the RIGHT text function:
=RIGHT(FORMULATEXT(A2),LEN(FORMULATEXT(A2))-1)
I hope it’ll be helpful.
Hello. How I can make in one cell to stay this 2+2*3 and in other cell result of this?
Hello!
Write your formula =2+2*3 in cell A2. In cell A1 use the function =FORMULATEXT(A2)
I hope my advice will help you solve your task.
thanks but seriously I don't get it all I need more explanation from the scratch
how do I use a formula on a spreadsheet on a number of entries without having to enter it each time
Hello!
Here is the article that may be helpful to you: How to copy formula in Excel
I have to calculate (11/6) to the power 54. How can I do this on excel? I cannot find the caret function on excel.
Hello!
=(11/6)^54
The ^ character is at 6 using SHIFT
Hello,
Could you please advise how I could calculate customer discount... Example:
Total discount to distributor 42%, they have margin of 9%, what will be the % discount that end customer receives?
Excel spread sheet, why when making an percentage formular calculation does it show a negative amount?
Hello!
If you count the percentage of a negative number, the result will also be a negative number.
Hello,
I have excel directories to track test conducted at each location. The directory has columns that state positive or negative with result testing. How do I create a summary page that will calculate the positive and negative findings?
Thank you,
Rhonda
Hello!
Unfortunately, without seeing your data it hard to give you advice. I recommend you a guide to working with pivot tables. If you have more specific questions and can give an example of the initial data and the desired result, I will try to help you.
Hi, I need to calculate the Inductance formula. The Reactance (XL) is in cell K56 and f=60. The calculation is XL/2PIf. I have tried ((K56)/(2*pi*60)) and variations of this and cannot get it correct. Can you help?