Basic math in Excel: Addition, subtraction, multiplication, and division

By January 13, 2020 Tech Tip
Basic math in Excel: Addition, subtraction, multiplication, and division

Are you new to Excel, and not sure where to start with formulas and operations? Many spreadsheets use basic math: adding and subtracting numbers or multiplying and dividing. Understanding these math formulas will help you graduate to more complex equations to manipulate your Excel data.

How does basic math work in Excel?

Excel uses formulas or functions to manipulate data. A function takes an input, which is the content of cells plus some operating symbols that say what to do with the data. You can input a single cell into a function or a range of multiple cells.

For addition, subtraction, multiplication, and division, you can use the SUM function. Your input for the SUM formula is a basic mathematical expression. Here’s an example:

=SUM(A1-A2)

Translated into readable English, this function means: “Calculate the sum of the number in cell A1 minus the number in cell A2.”

Basic math does not actually require the SUM function to work. In some cases you can skip the “=SUM()” format, and simply type in the function input like “=A1+A2”. However, using the SUM function is sometimes necessary and a good practice if you’re new to formulas.

Adding Numbers

To add numbers with SUM, you use the plus (+) sign.

=SUM(A1+A2)

Basic math in Excel - Addition

Remember that you are not limited to just adding two numbers. You can add together many numbers and chain them together with plus signs, and you can add together an entire range of adjacent cells with a colon (:). For example:

=SUM(E1:E4)

Basic math in Excel - Adding ranges of numbers

This formula means “Calculate the sum of cells E1 through E4.”

Subtracting Numbers

Subtraction works the same as addition, except you use the minus (-) symbol.

=SUM(A1-A2)

Subtraction in Excel

And you can mix subtraction with addition like this:

=SUM(A1-A2+A3)

Subtracting and adding numbers in Excel

Multiplying Numbers

To multiply, you use an asterisk (*) as the multiplication operator. In the example below, we’ve multiplied a total number of hours by an hourly rate to get a final total. Notice here that “Total hrs” in cell E5 is itself a sum of cells E1 through E4.

=SUM(E5*E6)

Multiplying numbers in Excel

Dividing Numbers

Once again, division works the same multiplication except you use a forward slash (/) as the division operator.

=SUM(E7/2)

Basic math in Excel - Division

Here we’re dividing the total from cell E7 by two.

Bonus Tip: Complex Equations

If you want to chain together addition and subtraction with multiplication and division in a single equation, you’ll need to use parentheses to denote which operations are done first. Operations in parentheses are done first – and if you’re using multiple nested parentheses, the deepest parentheses are done first, and the calculation works its way “outwards”.

For example, say you want to multiply the sum of cells E1 through E4 by the sum of cells F1 through F3. You want the two sums you’re multiplying to be added up first, and then multiplied.

=SUM((E1:E4)*(F1:F3))

Here we’re using cell ranges (e.g. “E1:E4”) as a shorthand for addition. The SUM function will automatically add up this range of cells. Here’s an example using subtraction before multiplication:

=SUM((A1-A2)*(F1:F3))

So here we’re subtracting A2 from A3 then multiplying that result by the sum of cells F1 through F3.

Conclusion

Confused yet? The basic things to remember are that you’re performing operations on the contents of cells. You refer to cells and then use a mathematical operator (+, -, *, or /) to indicate what to do with the numbers in those cells. It’s good to use the SUM function, but you can skip it and type in math formulas on their own for the simplest cases.


Recent Posts / View All Posts

Cybersecurity during COVID-19

Feeling the COVID-19 Panic? Don’t Forget Your Cybersecurity

| Leadership, Security | No Comments
Attackers Are Taking Advantage of Unprecedented Changes What we’re witnessing today with the COVID-19 pandemic is unprecedented. Local governments are banning large gatherings. Many businesses and institutions are forced to close or adjust work schedules. Organizations that can are moving their employees to reduced hours or remote work. This means many people are now working from home for the first time and encountering issues with connectivity and access to company networks and data. The social isolation, uncertainty, and distractions cause anxiety and mistakes. On top of all of this, cyber attackers are already trying to take advantage of a world…

An Update from OXEN Technology

| Announcements | No Comments
To all our valued clients Much has changed across the country and across the world in the past few weeks. We want to let you know how OXEN has adapted to the COVID-19 pandemic and what precautions we are taking, while also serving you remotely. Do you need help with remote work? First and foremost, we know many organizations and businesses are taking quick action to set up remote workers and work-from-home policies. Many of your employees are working remotely for the first time and experiencing the technical hurdles that come with that transition. If you are having any problems…
Managed IT Services

3 Signs You Need Managed Services

| Managed Services | No Comments
If you've researched methods of taking care of your IT needs, you've probably come across "managed services" or "managed IT services". What is it—and do you need it? "Managed services" can be generally defined as "outsourcing day-to-day management responsibilities for improving operations and cutting expenses."1 When it comes to technology, managed services is, more specifically, the outsourcing of continual monitoring and day-to-day administrative duties of your IT infrastructure. How do you know if you could benefit from managed services? The best way to determine if you'll cut costs is to know what you are currently paying for your IT's upkeep—and…