Excel has no function literally called DIV, but it does have a dedicated division function: QUOTIENT. Use =QUOTIENT(numerator, denominator) to get the integer portion of a division, or use the forward slash / in a formula like =A2/B2 when you need the exact decimal result. The slash method is what most people mean by "dividing in Excel," and it works in every version. The QUOTIENT function is the closest thing to a built-in DIV function, and it returns only the whole-number part, discarding the remainder.

What You'll Need

  • Excel for Microsoft 365, Excel 2021, 2019, 2016, or Excel for the web (the slash and QUOTIENT work in all of them).
  • At least two numbers or two cells containing numbers to divide.
  • Basic familiarity with typing formulas that start with an equals sign.

Step-by-Step

  1. Open your spreadsheet and click the cell where you want the result to appear.
  2. Type an equals sign (=) to start a formula. Excel will not calculate anything without it.
  3. Enter the division expression. For a simple decimal result, type the numerator, a forward slash, and the denominator, for example =10/4. Press Enter. The cell shows 2.5.
  4. Divide cell values instead of typed numbers. Click the first cell, type /, then click the second cell. The formula bar shows something like =A2/B2. Press Enter.
  5. Copy the formula down a column. Drag the small square at the bottom-right corner of the cell (the fill handle) downward. Relative references adjust automatically, so row 3 becomes =A3/B3, and so on.
  6. Use QUOTIENT for whole-number division. In a cell, type =QUOTIENT(10,3) and press Enter. The result is 3, because QUOTIENT drops the remainder. With cell references it looks like =QUOTIENT(A2,B2).
  7. Format the result if needed. Select the result cell, go to the Home tab, and use the Number Format dropdown to set decimals, percentage, or currency. The underlying value does not change, only how it displays.
  8. Handle division by zero. If a denominator is zero or blank, Excel shows #DIV/0!. Wrap the formula in IFERROR to replace the error with a blank or a message: =IFERROR(A2/B2,"").

Common Mistakes

  • Forgetting the equals sign. Typing 10/4 without = makes Excel treat it as text, not a calculation.
  • Using the backslash instead of the forward slash. Division uses /. The backslash \ is not a division operator in Excel.
  • Dividing by an empty cell. Blank cells count as zero in division, producing #DIV/0!. Check that the denominator cell actually contains a number.
  • Expecting QUOTIENT to round. QUOTIENT truncates toward zero. =QUOTIENT(10,3) returns 3, not 3.33, and it does not round up to 4.
  • Mixing text and numbers. If a cell looks like a number but was entered as text (often left-aligned), division returns #VALUE!. Convert it with VALUE or retype it as a number.
  • Pasting formulas without checking references. Copying a formula can shift cell references unexpectedly. Use absolute references like $B$2 when the denominator must stay fixed.

Tips

  • Use F4 while editing a reference to cycle between relative, absolute, and mixed references quickly.
  • To divide an entire range by the same number, put the divisor in one cell, copy it, select the range, and use Paste Special > Divide. This overwrites the original values, so work on a copy first.
  • The QUOTIENT function pairs well with MOD, which returns the remainder. Together they let you split a number into whole and fractional parts.
  • For percentages, divide the part by the whole and apply Percentage format. For example, =A2/B2 formatted as a percentage shows the share.
  • Press Ctrl+` (the grave accent key) to toggle showing formulas instead of results, which helps spot a wrong reference.

Troubleshooting

If you see #DIV/0!, the denominator is zero or blank. Replace it with a non-zero number or wrap the formula in IFERROR. If you see #VALUE!, one of the cells contains text or a space; check with the ISTEXT function or retype the value. If the result looks wrong, click the cell and inspect the formula bar for a shifted reference or a missing parenthesis. If the formula displays as text instead of calculating, the cell may be formatted as Text; change the format to General and re-enter the formula. If the fill handle does not copy correctly, the worksheet may have manual calculation enabled; press F9 to recalculate, or check Formulas > Calculation Options.

Frequently Asked Questions

Is there a DIV function in Excel?

No function is named DIV. The division operator is the forward slash /, and the integer division function is QUOTIENT.

What is the difference between / and QUOTIENT?

The slash returns the exact decimal result. QUOTIENT returns only the integer part, discarding the remainder.

How do I divide a column by a constant number?

Put the constant in one cell, use an absolute reference like $B$2 in the formula, then copy down. Or use Paste Special > Divide on a copy of the range.

Why does my division show #DIV/0!?

The denominator is zero or an empty cell. Fill in a non-zero value or use IFERROR to handle it.

Can I divide text that looks like a number?

Excel may treat it as text and return #VALUE!. Convert it with the VALUE function or reformat the cell as a number.

Does QUOTIENT round the result?

No. QUOTIENT truncates toward zero, so 10 divided by 3 returns 3, not 3.33 and not 4.