How to Divide in Excel: Step-by-Step Guide
In this article
To divide in Excel, type an equals sign in a cell, then the number or cell reference you want to divide, a forward slash (/), and the divisor. For example, =A2/B2 divides the value in A2 by the value in B2. Press Enter and the result appears. That is the whole method — Excel has no separate DIVIDE function, just the slash operator. The rest of this guide covers how to apply it to ranges, handle errors, and avoid the mistakes that make division formulas fail.
What You'll Need
- Excel on Windows, Mac, or the web version (the steps are the same; labels can differ slightly by version and region).
- A worksheet with at least two numbers or two cells containing numbers.
- Basic familiarity with typing formulas and pressing Enter.
Step-by-Step
- Click the cell where you want the result. This is where the quotient will appear. It can be any empty cell.
- Type an equals sign (=). This tells Excel you are entering a formula, not text. Without it, Excel treats 10/2 as text and shows nothing useful.
- Type the dividend (the number being divided). You can type a literal number such as 10, or click a cell that contains it, such as A2. If you click a cell, Excel inserts its reference automatically.
- Type a forward slash (/). This is the division operator. Use the slash key on the main keyboard, not the backslash (\).
- Type the divisor (the number you are dividing by). Again, type a number or click a cell, such as B2. Your formula now looks like =A2/B2 or =10/2.
- Press Enter. Excel calculates the result and moves the selection down one cell. The formula remains visible in the formula bar when you reselect the cell.
- Copy the formula down a column if needed. Select the cell with the formula, grab the small square at its bottom-right corner (the fill handle), and drag down. Relative references adjust automatically, so =A2/B2 becomes =A3/B3 and so on. Double-clicking the fill handle fills down to the end of the adjacent data.
- Divide an entire range by a constant (optional). If you want every value in A2:A10 divided by the same number, put that number in a single cell (say C1), then in B2 enter =A2/$C$1. The dollar signs lock the reference so it does not shift when you copy down. Drag the formula down the column.
- Format the result if needed. Select the result cells and use the Number Format dropdown on the Home tab to show decimals, percentages, or currency. Division itself does not change formatting.
Common Mistakes
- Leaving out the equals sign. Typing 10/2 without = stores text, not a calculation.
- Using the wrong slash. The backslash (\) is not a division operator in Excel. Only the forward slash (/) works.
- Dividing by zero. This produces the #DIV/0! error. Check that the divisor cell is not empty or zero before relying on the result.
- Forgetting absolute references. When dividing a whole column by one constant, a relative reference like C1 shifts as you copy down. Use $C$1 to lock it.
- Dividing text. If a cell contains text that looks like a number (for example, imported data with spaces), Excel returns #VALUE!. Clean the data first.
- Reversing dividend and divisor. =A2/B2 is not the same as =B2/A2. Double-check which value is being divided by which.
Tips
- Use cell references instead of typed numbers whenever possible. If the source values change, the result updates automatically.
- Combine division with other operators in one formula, for example =(A2+B2)/C2. Excel follows standard order of operations, so use parentheses to control what is calculated first.
- To show a result as a percentage, divide one number by another and then apply Percentage format. For example, =A2/B2 formatted as a percentage shows the ratio directly.
- Use the formula bar to inspect a result cell. It shows the underlying formula, which helps when a number looks wrong.
- If you need to divide by a value in a different sheet, reference it with the sheet name, such as =A2/Sheet2!B2.
Troubleshooting
If the result is not what you expect, work through these checks in order.
- #DIV/0! error: The divisor is zero or the divisor cell is empty. Fill in a non-zero value or wrap the formula in IFERROR, for example =IFERROR(A2/B2,"n/a"), to display a friendly message instead.
- #VALUE! error: One of the cells contains text rather than a number. Check for stray spaces, apostrophes, or imported formatting. Use VALUE() to convert text numbers, or clean the source data.
- Formula shows as text: The cell may be formatted as Text before you typed the formula. Change the format to General, then re-enter the formula.
- Result looks rounded: The column may be too narrow, or the cell format may limit decimals. Widen the column or increase decimal places in Number Format.
- Copied formula gives wrong results: Check whether you needed absolute references ($). Press Ctrl+` (grave accent) to toggle showing formulas instead of results and inspect the references.
- Nothing happens when you press Enter: Confirm you are not in edit mode in another cell and that the workbook is not protected. Unprotect the sheet if editing is locked.
Frequently Asked Questions
Is there a DIVIDE function in Excel?
No. Excel uses the forward slash (/) operator for division. There is no built-in DIVIDE function; you write formulas such as =A2/B2.
How do I divide a column by the same number?
Put the divisor in one cell, then use an absolute reference such as =A2/$C$1 and copy the formula down. The dollar signs keep the divisor fixed.
Why do I get #DIV/0!?
The divisor is zero or blank. Provide a non-zero divisor, or use IFERROR to replace the error with a custom message.
Can I divide text values?
Not directly. Convert text that represents numbers using VALUE() or clean the data first. Excel returns #VALUE! when it cannot treat a cell as a number.
How do I show the result as a percentage?
Divide the part by the whole, then apply Percentage format from the Number Format dropdown on the Home tab. The underlying value stays the same; only the display changes.
Does division work the same on Excel for the web and mobile?
Yes. The slash operator and formula syntax are the same across Excel for Windows, Mac, and the web. Menu labels and the location of formatting options can differ slightly by version and device.