How to Divide Numbers in Excel With Formulas

Learn how to divide numbers in Excel with the slash operator, QUOTIENT, locked references, and zero-safe formulas, plus how to check the results.

If you work with totals, counts, or budgets in a spreadsheet, you will eventually need to divide one number by another: cost per unit, hours per task, or each sales figure as a share of the total. Excel handles this with a simple formula, but the details matter once you copy the formula down a column or the divisor contains a zero. This guide covers the division formulas you need for everyday work, with a quick reference you can keep open while you build a sheet.

The short version: Excel divides with the forward slash, so a formula looks like =A2/B2. The table below shows the common division formulas and when to use each one. Most people only need the first two rows, but the others help when a list is long or messy.

How do you divide one number by another in Excel? The short answer

Type an equals sign, the cell with the number to divide, a forward slash, and the cell with the divisor, then press Enter. The cell returns the quotient.

Your situationWhat to doWhy
You need a plain quotient from two cellsEnter =A2/B2The forward slash is Excel's division operator
You need only the whole-number partEnter =QUOTIENT(A2,B2)It drops the remainder without rounding
One divisor applies to many rowsEnter =A2/$B$1The dollar signs lock the divisor when you copy the formula
The divisor might be zero or blankEnter =IF(B2=0,"",A2/B2)It returns a blank instead of a #DIV/0! error
You want a result as a shareEnter =A2/B2, then format the cell as percentExcel shows 0.25 as 25% without changing the stored value

Before you start

Check these points before you type formulas. Each one prevents a common mistake that looks correct at first glance.

  • Confirm the cells contain numbers. A value that looks like a number but is stored as text will not divide. Numbers are right-aligned by default, so text values that sit on the left are a warning sign.
  • Decide which number is the numerator and which is the divisor. Reversing them gives a different answer. In =B2/A2, Excel divides column B by column A, which is the opposite of =A2/B2.
  • Know where your divisor can be zero. Blank rows and zero counts cause errors in long lists. Plan to handle them before you fill a formula down.
  • Note how many decimal places you need. Display formatting changes what you see but not the stored value. Settle on the precision before you share the sheet.
  • If the numbers come from a PDF, get them into a spreadsheet first. Retyping by hand invites transcription errors. The steps for that are in a section below.

Writing your first division formula, step by step

These steps use a simple layout: column A holds totals, column B holds counts, and the first data row is row 2. Adjust the cell addresses to match your sheet.

  1. Put the numbers in place. Enter a total in A2 and a count in B2, for example 120 in A2 and 4 in B2.
  2. Select the result cell. Click C2, the empty cell where the answer will appear.
  3. Start the formula. Type an equals sign. Excel reads anything that begins with = as a formula.
  4. Enter the division. Type A2, then a forward slash, then B2. The cell now reads =A2/B2.
  5. Confirm the result. Press Enter. C2 should show 30, because 120 divided by 4 is 30.
  6. Fill the formula down. Drag the small square at the bottom-right corner of C2 down the column. Excel adjusts the references in each row, so C3 becomes =A3/B3, and so on.
  7. Lock a shared divisor when needed. If every row divides by the same cell, such as a tax rate in B1, write =A2/$B$1 instead. The dollar signs keep the reference fixed when you fill down.
  8. Format the result. Use the number format controls to set decimal places or percent display. Formatting changes how the value looks, not the value itself.

If you need the average of a range rather than a single pair, divide the sum by the count. For example, =SUM(A2:A10)/COUNT(A2:A10) gives the mean of the values in A2 through A10.

Check the result

Once the formulas fill the column, check a few rows against the source numbers before you rely on the output. The table covers the problems people see most often.

CheckHow to see itIf it's wrong
The cell shows the formula text, not a numberClick the cell and look at the formula barThe cell is formatted as text. Change the format to General, then retype the formula with the equals sign.
The cell shows #DIV/0!The error appears in the cell itselfThe divisor is zero or blank. Wrap the formula in IF, as shown in the table above.
The result looks roundedCompare the cell with the value in the formula barThe display has fewer decimals than the stored value. Increase the decimal places, or use ROUND if you want the stored value rounded.
Filled rows point to the wrong cellsClick a few filled cells and read their referencesA divisor that should be fixed is missing its dollar signs. Edit the first formula, then fill down again.
A figure from a PDF doesn't matchCompare the spreadsheet value with the original pageScanned text can be misread, for example 8 for 3. Correct the cell by hand, then recheck the row.

Getting numbers from a PDF into Excel

If your totals and counts are in a PDF table, typing them by hand takes time and invites mistakes. The OmniDoc desktop client, available at download.omnidoc.top, includes a PDF editor that can export to Excel. Open the PDF there, export it to Excel, and then build your division formulas in the exported file.

Scanned PDFs are images of pages, so the text is not selectable yet. The same editor can run OCR on scanned PDFs first, which turns the page image into text you can export. Recognition is not perfect, so compare the exported figures with the original line by line before you divide. Pay extra attention to digits that look alike, such as 1 and 7, or 5 and 6.

❓ FAQ

1. How do I get the remainder after dividing in Excel?

Use the MOD function. The formula =MOD(A2,B2) returns what is left over after A2 is divided by B2. For example, if A2 is 10 and B2 is 4, the result is 2.

2. Can I divide by a number stored on another sheet?

Yes. Include the sheet name followed by an exclamation mark before the cell address, such as =A2/Sheet2!B2. If the sheet name contains spaces, put it in single quotes, like ='Q1 Costs'!B2.

3. How do I make a division result show a fixed number of decimals in the value itself?

Use the ROUND function. For example, =ROUND(A2/B2,2) stores the result rounded to two decimal places. Formatting alone only changes how the value appears, so ROUND is the choice when later calculations need the rounded number.

4. How do I divide a total by the number of entries in a list?

Divide the sum of the range by its count. Use =SUM(A2:A10)/COUNT(A2:A10). COUNT counts only cells that contain numbers, so blank cells do not lower the average.

📝 Summary

Division formulas in Excel start with the forward slash, and the same pattern covers most everyday cases. Add QUOTIENT, dollar-sign locks, or an IF guard when the situation calls for them. Check a sample of results against the source, especially numbers that came from a scanned PDF.

Open OmniDoc to work on your spreadsheets

Updated 2026-11-04