Excel formulas are calculations that transform raw numbers into meaningful data. They automate math, text processing, and logical decisions within your spreadsheet, saving time and reducing errors. To start, you only need a computer with Microsoft Excel (or the free Excel Online) installed and a simple dataset to practice on.

What You'll Need

  • Microsoft Excel or Excel Online: The software to run the formulas. Desktop versions offer the most features.
  • A Working Dataset: A simple list of numbers, like a sales ledger or a budget tracker. You need at least two columns to see the formulas work.
  • Basic Keyboard Skills: Familiarity with typing text and numbers.

Step-by-Step

  1. Open the Application: Launch Microsoft Excel. A blank workbook will open, typically with three worksheets labeled Sheet1, Sheet2, and Sheet3.
  2. Enter Your Sample Data: Go to cell A1 and type Item. In cell B1, type Price. In A2, type Apples. In B2, type 1.50. In A3, type Bananas. In B3, type 2.20. Repeat this for a few more items to create a dataset of at least five rows.
  3. Open the Formula Bar: Click on the cell where you want the result to appear. Look above the grid, between the ribbon and the grid, to find the Formula Bar. This is where you will type your formula.
  4. Understand the Equals Sign: Every formula in Excel must begin with an equals sign (=). This tells the program you are entering a calculation, not just text.
  5. Master the SUM Function: The SUM function adds numbers. Click on cell B6. Type =SUM(B2:B5) and press Enter. This specific formula adds the prices from cells B2 through B5.
  6. Calculate an Average: The AVERAGE function finds the mean. Click on cell B7. Type =AVERAGE(B2:B5) and press Enter. This will show the average price of your items.
  7. Find a Maximum Value: The MAX function finds the highest number. Click on cell B8. Type =MAX(B2:B5) and press Enter. This will show the most expensive item in your list.
  8. Find a Minimum Value: The MIN function finds the lowest number. Click on cell B9. Type =MIN(B2:B5) and press Enter. This will show the cheapest item in your list.
  9. Calculate a Percentage: Percentages are calculated as a fraction of 100. Click on cell B10. Type =B2/B6 and press Enter. This divides the price of the first item (1.50) by the total sum (B6). The result will likely be a decimal (e.g., 0.33). To make it a percentage, right-click the cell, select Format Cells..., choose Percentage, and click OK.
  10. Combine Text with CONCATENATE: The CONCATENATE function joins text strings. Click on cell C2. Type =CONCATENATE(A2, " - ", B2) and press Enter. This will combine the item name with a dash and the price. A newer, simpler way to do this is to use the ampersand symbol: =A2 & " - " & B2.
  11. Build a Conditional Statement: The IF function makes decisions. Click on cell D2. Type =IF(B2>2, "High Price", "Low Price") and press Enter. This formula checks if the price in B2 is greater than 2. If it is, it says "High Price"; otherwise, it says "Low Price". You can copy this formula down to the other rows to see it change for each item.

Common Mistakes

One of the most frequent errors is using the wrong type of parentheses. Excel requires every opening parenthesis (() to have a matching closing parenthesis ()). If you type =SUM(B2:B5 and forget the last one, Excel will return a #NAME? error or a syntax error. Always check that your parentheses are balanced.

Another common issue is referencing the wrong cell range. If your data grows and you add a new row, your formula range might not automatically include the new number. For example, if you only sum B2:B5 but later add a new price in B6, the old formula will not include it. To fix this, use the Insert Function dialog or edit the formula to include the new cell, e.g., changing it to =SUM(B2:B6).

Finally, forgetting to use absolute references can cause problems when copying formulas. If you want a specific cell, like a tax rate, to stay the same when you copy the formula across rows, you must use the dollar sign ($). For example, if your tax rate is in cell F1, type =B2*$F$1 instead of =B2*F1. This locks the reference to cell F1.

Tips

Always use cell references (like B2) instead of typing the numbers directly into the formula. This makes your spreadsheet dynamic. If you change the number in cell B2, the result of your formula will update automatically.

Excel has a built-in feature to help you write formulas. After typing =, look for the Formulas tab on the ribbon. It contains buttons for AutoSum, AutoAverage, and AutoMax. Clicking these will insert the correct function for the selected cell.

Another powerful tip is using the Fill Handle. This is the small square dot in the bottom-right corner of the selected cell. After typing a formula in one cell, click and drag the fill handle down to copy the formula to the other cells. This is the fastest way to apply a calculation to an entire dataset.

Troubleshooting

If your formula shows a #VALUE! error, it usually means the formula is trying to do math with text. For example, if you try to add a text cell containing "Apple" to a number, you will get this error. Check the cells referenced in your formula to ensure they are all numbers (or formatted as numbers) and not text.

If the result is a long string of numbers like 0.333333333, your cell is not formatted as a percentage. To fix this, right-click the cell, select Format Cells..., choose Percentage, and click OK. This will convert the decimal to a percentage.

If you see a #REF! error, it means your formula is referencing a cell that no longer exists. This often happens if you delete a row or column that was originally part of your formula’s range.

If a formula does not update when you change a number, it might be set to manual calculation mode. Go to the Formulas tab on the ribbon and click Calculate Now (or press F9) to update all formulas in the workbook.

Frequently Asked Questions

What is the difference between a formula and a function?

A formula is an equation that performs a calculation using values (cell references or numbers). A function is a predefined formula that takes a specific value or set of values as an input and returns a result. For example, =SUM(A1:A5) is a formula that uses the SUM function.

How do I copy a formula to the rest of the column?

After typing your formula in the first cell, click on that cell to select it. Look for the small square dot in the bottom-right corner of the cell (the fill handle). Click, hold, and drag it down to the last row you want to calculate. You can also double-click the fill handle to automatically fill down all adjacent rows that have data.

Why does Excel show #NAME? when I type my formula?

This error usually means you misspelled a function. For example, typing =SUMM(B2:B5) instead of =SUM(B2:B5) will cause this error. Check your spelling and ensure you are using the correct function name.

How do I handle errors in my formulas?

You can use the IFERROR function to handle errors gracefully. For example, =IFERROR(A1/B1, "Cannot divide by zero") will display your custom message if dividing A1 by B1 results in an error, such as a division by zero.

Can I use formulas on data from different sheets?

Yes. You can reference cells from another sheet by typing the sheet name followed by an exclamation mark. For example, =SUM('Sheet2'!B2:B5) will sum the data from the B2 to B5 range on the Sheet2 tab.

What is the difference between relative and absolute references?

A relative reference, like A1, changes when you copy the formula to another cell. An absolute reference, like $A$1, does not change. The dollar signs lock the row and column, so the formula will always refer to that specific cell, no matter where you paste it.