Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel 2016 Formulas: A Complete Guide to Using Them

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To create a formula in Excel 2016, click on a cell, type an equals sign (=), and then enter your mathematical operation or function (e.g., =SUM(A1:A10)). The equals sign tells Excel that the following characters are a calculation rather than static text. Formulas allow you to automate calculations, analyze large datasets, and ensure that your totals update automatically when you change the underlying data.

What You'll Need

  • A computer with Microsoft Excel 2016 installed.
  • A dataset or a set of numbers entered into cells to perform calculations upon.
  • Basic familiarity with the Excel grid layout (columns labeled by letters and rows labeled by numbers).

Step-by-Step

  1. Select the Target Cell: Click on the cell where you want the result of your formula to appear. This is known as the destination cell.
  2. Initiate the Formula: Type the equals sign (=) into the cell. Every single formula in Excel 2016 must begin with this symbol. If you omit it, Excel will treat your entry as a text string and will not perform any math.
  3. Enter a Basic Mathematical Operation: For simple math, use the standard operators: the plus sign (+) for addition, the minus sign (-) for subtraction, the asterisk (*) for multiplication, and the forward slash (/) for division. For example, to add two numbers, type =10+5 and press Enter.
  4. Use Cell References Instead of Static Numbers: To make your spreadsheet dynamic, refer to the cells containing your data rather than typing the numbers themselves. Instead of =10+5, click on cell A1, type +, and then click on cell B1. The formula will look like =A1+B1. Now, if you change the value in A1, the result in your destination cell updates automatically.
  5. Insert a Built-in Function: For more complex tasks, use functions. A function is a predefined formula. To use one, type the equals sign, then the function name, followed by an open parenthesis. For example, type =SUM(.
  6. Define the Range: While the parenthesis is open, click and drag your mouse over the range of cells you want to calculate (e.g., A1 through A10). Excel will automatically fill in the range as A1:A10. Close the parenthesis ) and press Enter. The full formula is =SUM(A1:A10).
  7. Utilize the Formula Bar: If you need to edit a formula, you can click the cell and then look at the Formula Bar located above the column headers. This bar shows the actual formula behind the result displayed in the cell, making it easier to spot typos or range errors.
  8. Apply the Formula to Other Cells (AutoFill): If you have a column of data and want the same calculation for every row, click the small green square (the fill handle) in the bottom-right corner of the cell containing your formula. Click and drag this handle down the column. Excel will automatically adjust the cell references for each row (e.g., =A1+B1 becomes =A2+B2).
  9. Nest Multiple Functions: For advanced analysis, you can place one function inside another. For example, =ROUND(SUM(A1:A10), 2) will first add the numbers in the range and then round the final result to two decimal places.

Common Mistakes

One of the most frequent errors is forgetting the equals sign at the start of the entry. Without it, the formula remains visible as text and no calculation occurs. Another common mistake is the "Circular Reference," which happens when a formula refers to its own cell. For example, if you put =SUM(A1:A5) inside cell A5, Excel cannot calculate the total because the total itself is part of the sum, creating an infinite loop.

Many users also struggle with the order of operations. Excel follows standard mathematical rules (PEMDAS): Parentheses, Exponents, Multiplication and Division (left to right), and Addition and Subtraction (left to right). If you type =5+2*10, Excel will multiply 2 by 10 first, resulting in 25. If you intended to add 5 and 2 first, you must use parentheses: =(5+2)*10, which results in 70.

Incorrect range selection is another hurdle. Users often accidentally include the cell where the formula is located within the range, or they include empty cells that contain hidden characters, which can lead to unexpected results or errors in functions like AVERAGE, where empty cells are ignored but cells containing a zero are counted.

Tips

To speed up your workflow, use keyboard shortcuts. For instance, pressing Alt + = is the shortcut for "AutoSum," which automatically detects the range of numbers above or to the left of your active cell and writes the SUM formula for you.

Use absolute references when you don't want a cell reference to change during AutoFill. By default, Excel uses relative references (A1 becomes A2). To lock a cell, press the F4 key while the cursor is on the cell reference in the formula bar. This adds dollar signs (e.g., $A$1). This is essential when you are multiplying a whole column of numbers by a single tax rate located in one specific cell.

Color-coding helps with auditing. When you double-click a cell containing a formula, Excel 2016 highlights the referenced cells in different colors (blue, red, purple). This allows you to visually verify that the formula is pulling data from the correct locations before you commit the change.

Troubleshooting

If your formula is not working as expected, first check the error code displayed in the cell. #DIV/0! means you are trying to divide a number by zero or an empty cell. To fix this, ensure the divisor cell contains a non-zero value.

The #VALUE! error typically occurs when there is a mismatch in data types. For example, if your formula is =A1+B1, but cell A1 contains a word instead of a number, Excel cannot perform the addition. Check your source data for accidental text entries or spaces that might be treated as text.

If you see #REF!, it means a cell reference is no longer valid. This usually happens if you deleted a row or column that was being used in a formula. To fix this, you must click into the formula and re-select the correct cells.

If the cell simply shows the formula text (e.g., it literally says "=SUM(A1:A10)") instead of the result, check the cell formatting. The cell might be formatted as "Text." Go to the Home tab, change the number format dropdown from Text to General, and then double-click the cell and press Enter to refresh the calculation.

If the result is mathematically incorrect, check for hidden rows or filtered data. Standard formulas like SUM include hidden rows. If you only want to calculate visible cells, you should use the SUBTOTAL function instead of SUM.

Frequently Asked Questions

How do I add a long list of numbers quickly?

The fastest way is to highlight the range of numbers and look at the Status Bar at the bottom right of the Excel window; it will show the Sum, Average, and Count automatically. To put this in a cell, use the AutoSum button on the Home tab or press Alt + =.

What is the difference between a formula and a function?

A formula is any equation you write yourself (e.g., =A1+A2). A function is a built-in tool provided by Excel to perform complex calculations (e.g., =VLOOKUP or =SUM). All functions are formulas, but not all formulas use functions.

How do I make a formula apply to an entire column?

Enter the formula in the first cell of the column. Hover your mouse over the bottom-right corner of that cell until the cursor becomes a thin black cross. Double-click that cross, and Excel will automatically fill the formula down to the last row of your data.

Can I use formulas to combine text from two cells?

Yes. You can use the ampersand (&) symbol. For example, if A1 contains "John" and B1 contains "Doe", the formula =A1 & " " & B1 will result in "John Doe". The quotes with a space ensure the names aren't squashed together.

Why does my formula result show as a series of hashtags (#######)?

This is not an error in the formula itself, but a display issue. It means the resulting number is too wide to fit in the current column width. To fix this, hover your mouse over the right border of the column header and double-click to auto-fit the column width.