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

IT Leadership | Shared CIO

You Need IT Leadership

| Consulting, Leadership | No Comments
Missouri is just beginning to emerge from its stay-at-home order in response to the pandemic threat. Who ever imagined that pandemic planning policies would become a reality? What was once regarded as a threat with low probability of occurrence will likely become a much higher probability as we navigate through the coming years. The realization of this threat has certainly changed the way we view ourselves and the world around us. It has sensitized us to our newfound vulnerability. This month, I am writing to you from the Joplin, MO office of OXEN Technology. Considering our present circumstances, our physical…
Tech Tip Background

Office 365 Tip: Create a file request in OneDrive

| Office 365, Tech Tip | No Comments
If you need to obtain files from various people, you can use OneDrive to create a file request that allows others to upload documents directly to a folder you specify. This gives people a quick way to transfer files to you without giving them view or edit permissions to your OneDrive folder. Here’s how! Note: This feature is not available in Office 365 Government. For file requests to work, your Office 365 administrator must enable Anyone links in OneDrive. Requesting Files Using OneDrive Online, select the folder where you want others to upload their files. Click Request files on the…
Virtual Private Network

What is a VPN and do you need one to work from home?

| Security | No Comments
Since businesses started shifting to remote work due to COVID-19, OXEN has seen a sizeable uptick in requests for purchasing and implementing VPNs for at-home workers. You’ve probably seen that a Virtual Private Network (VPN) connection is often recommended for securely working from home while accessing company resources. So what’s a VPN for in this context, and do you need one? If you’re a business manager, do you need a VPN connection for every employee who’s now working from home? Read on for our tips. What Is a Virtual Private Network? VPN stands for “Virtual Private Network”. It creates a…