ROUND

Short answer

Round at the output or where a contract says so, never mid-calc

ROUND(number, num_digits)
Excel version
All versions
Also searched as
round number, rounding, decimal places, round to thousands, penny drift, allocation rounding, round half up, rounding difference

What it returns

ROUND returns a number rounded to a given number of digits. =ROUND(3.14159, 2) returns 3.14. A negative digit count rounds to the left of the decimal point: =ROUND(1234567, -3) returns 1,235,000.

Halves round away from zero. =ROUND(2.5, 0) returns 3 and =ROUND(-2.5, 0) returns -3. That is not the banker’s rounding used by VBA’s Round and by Power Query’s Number.Round by default, which send halves to the nearest even number. Feed the same numbers through both and some cents differ.

ROUND changes the stored value. A number format changes only what the cell shows. Most of the time the format is what you wanted.

Arguments that matter

ArgumentRequiredWhat it does
numberYesThe value to round. Usually a reference or a calculation.
num_digitsYesDigits to keep. 2 for cents, 0 for whole units, -3 for thousands, -6 for millions.

The siblings differ only in direction. ROUNDUP always rounds away from zero, ROUNDDOWN always toward zero, and MROUND rounds to a multiple such as 0.25 or 500. Pick by the rule you are implementing, not by habit.

In a financial model

Rounding belongs in two places.

  • The presentation layer. A board pack shows thousands. That is a number format, #,##0,, on a cell that still holds the full value, per the number format carries the unit. No ROUND.
  • Where a rule demands it. An invoice line in cents, a payroll tax calculation, a loan schedule where the lender rounds the payment to the cent. If the real-world number is rounded at that step, the model rounds at that step, so it ties to the bank or the payroll provider.

ROUND has one more honest use: in a check. A balance check that sums thousands of decimal values can miss zero by 0.0000001 through floating-point noise. =ROUND(SUM(BS!D50:O50), 2)=0 tests what you mean. Put it in the check row, per build a check row and make it loud.

Everywhere else, a ROUND inside the calculation block throws away information that the next step needed. Round a headcount driver to whole people and the salary build, the benefits load and the allocation all inherit the error. The total stops matching the sum of its parts, and someone spends an afternoon finding a difference of 1.

Worked example

Tab Alloc spreads 250,000 of shared IT cost across seven cost centers by headcount: 13, 9, 22, 7, 31, 8 and 7, a total of 97. Headcount sits in C6:C12, the cost in $C$3.

The unrounded share for each cost center:

=$C$3*C6/SUM($C$6:$C$12)

That gives 33,505.15, 23,195.88, 56,701.03, 18,041.24, 79,896.91, 20,618.56 and 18,041.24, which sum to exactly 250,000.

The board wants the schedule in thousands, and someone writes =ROUND($C$3*C6/SUM($C$6:$C$12), -3). The seven results are 34,000, 23,000, 57,000, 18,000, 80,000, 21,000 and 18,000. They sum to 251,000. The allocation now books 1,000 more cost than exists.

The plug fix, when the rounded pieces really must be posted: round every line except the last, and make the last line the difference.

=$C$3-SUM(D$6:D11)

In D12 that returns 17,000, and the column sums to 250,000. Plug the largest line instead of the last if you can, so the adjustment is the smallest share of its line.

The better fix, when the rounding is only for the page: no ROUND at all. Keep the unrounded shares and apply #,##0, as the number format. The page shows 34, 23, 57, 18, 80, 21, 18 and a total of 250. The column visibly foots to 251, which is a presentation choice to footnote (“totals may not sum due to rounding”), not an accounting error.

Old way vs new way

The habit, rounding inside the calculation:

=ROUND(D20*$C$5, 0)

The fix, full precision in the calculation, rounding in the format:

=D20*$C$5

with #,##0 as the number format. Same display, and every downstream sum adds up the real values.

Where it breaks

An allocation does not tie to its source. Each line was rounded, and the rounding differences add up. Fix: remove the ROUND, or plug one line so the column sums to the total.

Excel and Power Query disagree by a cent. Excel rounds halves away from zero, and Number.Round rounds them to even. Fix: pass RoundingMode.AwayFromZero as the third argument of Number.Round, so both sides use the same rule.

A balance check fails by 0.00000001. Floating-point arithmetic on decimals rarely lands on exact zero. Fix: round the check, not the balances, =ROUND(diff, 2)=0.

The workbook lost its decimals for good. Someone turned on File > Options > Advanced > “Set precision as displayed”. Every value was cut to what its format showed, permanently. Fix: leave the option off, and restore from the last saved version before it was set.

A loan schedule ends with a stray balance. The payment is rounded to the cent and the interest is not, so the last period leaves a few cents. Fix: round interest the way the lender does, and make the final payment the remaining balance plus interest. PMT gives the unrounded level payment to start from.

Headcount comes out as 12.4 people. The driver is fractional by design, and someone rounded it to look tidy. Fix: keep FTEs fractional in the calculation and round only on the page that shows heads, or model hires as whole-person events with dates.

Related functions

  • TEXT. Formats a number into a label without touching the value. Use it for titles, not for anything that is summed.
  • SUMPRODUCT. Totals unrounded shares in one cell when you need to prove an allocation ties.
  • PMT. The level payment a lender then rounds, which is where a schedule’s final-period adjustment comes from.
  • LET. Names the unrounded value once, so the rounded and unrounded versions in one formula read clearly.
  • ROUNDUP, ROUNDDOWN, MROUND, INT and TRUNC. The same job with a fixed direction or step. Choose the one that matches the rule you are modelling.
  • The play the number format carries the unit is the default answer to “the board wants thousands”.

All functions