ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. ROUND vs Number Format: Why Your Total Is Off by a Cent

ROUND vs Number Format: Why Your Total Is Off by a Cent

By ExcelReady Team·Updated December 1, 2026·8 min read

The short answer

A number format only changes how a number looks: 1.566675 shown with two decimals still adds up as 1.566675. ROUND changes the stored value itself, so =ROUND(B2*F1,2) really is 1.57. Use formatting for tidy reports, and ROUND whenever the rounded figure feeds a total, a lookup or a check, such as tax lines on an invoice.

Key takeaways

  • Number formatting changes what you see. Calculations still use the full stored value shown in the formula bar.
  • ROUND changes the value itself, so later totals and comparisons use the rounded number.
  • Lines that are only formatted can add up to a total that looks one cent out, even though Excel did the maths correctly.
  • Round once, at the step where the money is really rounded. Rounding rates or unit costs too early makes errors bigger.
  • Set precision as displayed rounds a whole workbook permanently. ROUND in the cells that need it is the safer fix.
On this page+
  1. ROUND vs number format: the difference at a glance
  2. The invoice that is off by a cent
  3. When to use number formatting
  4. When to use ROUND
  5. Edge cases and common mistakes
  6. What a job test usually checks
  7. How to decide: a quick checklist
  8. Our recommendation
  9. Practise it

ROUND vs number format in Excel comes down to one question: do you want to change what the number looks like, or what it is? A number format hides extra decimals but keeps them in every calculation. ROUND throws them away, so later totals use the rounded figure. This guide is for anyone whose invoice, payslip or report total is off by a cent, and for anyone preparing for an Excel test that asks you to "round" a result.

ROUND vs number format: the difference at a glance#

A number format is a display setting. ROUND is a formula that returns a new number.

FeatureNumber format (Decrease Decimal, Format Cells)ROUND function
What changesOnly what the cell showsThe value stored in the cell
Formula bar showsThe full value, such as 1.566675The rounded value, 1.57
Totals and other formulas useThe full valueThe rounded value
Can you undo it?Yes, add decimals back at any timeOnly by removing the ROUND
Needs a formula?NoYes: =ROUND(number, num_digits)
Shows trailing zeros (2.50)?YesNo, 2.5 stays 2.5 until you format it
Typical useTidy reports, dashboards, currency displayMoney that is really rounded: tax lines, pay, prices

Microsoft puts it plainly in its guide to stopping rounding: the number that appears in a cell is separate from the number stored in it. Everything in this article follows from that.

The invoice that is off by a cent#

Here is a small invoice with sales tax of 8.25% in F1. Column C works out the tax and is formatted to two decimals. Column D does the same sum inside ROUND.

ABCD
1ItemNetTax (formatted)Tax (ROUND)
2Desk lamp18.991.571.57
3HDMI cable6.490.540.54
4Wireless mouse24.952.062.06
5Stapler11.750.970.97
6Total62.185.135.14

The formulas are:

Excel formula
C2: =B2*$F$1
D2: =ROUND(B2*$F$1,2)
C6: =SUM(C2:C5)
D6: =SUM(D2:D5)

Both columns look identical line by line. But click C2 and the formula bar result is 1.566675, not 1.57. The four stored values in column C are 1.566675, 0.535425, 2.058375 and 0.969375. They add up to 5.12985, which displays as 5.13.

Now add the visible numbers yourself: 1.57 + 0.54 + 2.06 + 0.97 = 5.14. A customer checking the invoice with a calculator gets 5.14 and the invoice says 5.13. Excel's maths is correct; the page just doesn't show the decimals it used.

Column D stores 1.57, 0.54, 2.06 and 0.97, so its total is 5.14 and the printed lines agree with the printed total. The grand totals differ too: =B6+C6 gives 67.30985 (shown as 67.31), while =B6+D6 gives 67.32.

Which total is "right" depends on your rules. Some businesses round tax on each line, others round once on the invoice total with =ROUND(SUM(B2:B5)*F1,2), which gives 5.13. Check with your finance team. What matters is that the lines you print add up to the total you print.

Can't Excel just use the displayed values?#

It can, but you probably shouldn't. Set precision as displayed makes Excel cut every number in the workbook to the decimals it shows.

  • Windows: File > Options > Advanced, then under When calculating this workbook, tick Set precision as displayed.
  • Mac: open Excel > Preferences (called Settings in newer versions), choose Calculation and tick the precision-as-displayed option.
  • Excel for the web: you can't change this setting.

Microsoft warns in Set rounding precision that the option can make data increasingly inaccurate over time. It changes stored values permanently, across every sheet in the workbook, including unit costs and rates you never meant to round. ROUND in the few cells that need it is easier to see, check and undo.

When to use number formatting#

Use a number format when the full value is correct and you only want it to read well.

  • Reports and dashboards. An average of 4.73829 sales looks better as 4.7, and nobody will add it up again.
  • Currency and percentages. Showing 0.0825 as 8.25% or 1234.5 as $1,234.50 is formatting. Our guide to formatting numbers as currency and percentages covers the buttons and shortcuts.
  • Inputs and rates. Keep a tax rate or exchange rate at full precision and just display fewer decimals.
  • Showing trailing zeros. Only a format makes 2.5 display as 2.50.

To change decimals quickly, select the cells and use Home > Increase Decimal or Decrease Decimal. On Windows the key sequence is Alt, H, 0 to increase and Alt, H, 9 to decrease. For full control, open Format Cells with Ctrl+1 on Windows or ⌘1 on a Mac. Custom number formats go further, for example showing thousands as "K".

When to use ROUND#

Use ROUND when the rounded number is the real number: it gets paid, printed, compared or reused.

Excel formula
=ROUND(number, num_digits)
  • num_digits of 2 rounds to cents: =ROUND(1.566675,2) is 1.57.
  • 0 rounds to a whole number: =ROUND(1234.5,0) is 1235. Halves round away from zero.
  • A negative number rounds to the left of the decimal point: =ROUND(1234567,-3) is 1235000.

Use it for tax and discount lines on invoices, pay calculations, prices you will publish, and any result you will look up or test with IF. The ROUND function guide lists more examples. If you need to always round up or down instead, for example to bill whole hours, see ROUND vs ROUNDUP vs ROUNDDOWN. For simply cutting decimals off without rounding, compare INT vs TRUNC.

ROUND and formatting work well together. =ROUND(B2*$F$1,2) fixes the value, and a currency format makes it display as $1.57.

Edge cases and common mistakes#

Most "Excel is wrong" moments with decimals are one of these.

  1. Testing a formatted value. =C6=5.13 returns FALSE, because C6 holds 5.12985. An exact-match XLOOKUP or VLOOKUP for 1.57 in column C returns #N/A for the same reason. Compare rounded values instead: =ROUND(C6,2)=5.13 returns TRUE.
  2. Rounding too early. A part costs 0.4567 and you order 1,000. =ROUND(0.4567,2)*1000 gives 460, but =ROUND(0.4567*1000,2) gives 456.70. Rounding the unit cost first added 3.30. Round the final money amount, not the inputs.
  3. A rate that looks rounded. If F1 is formatted as a percentage with no decimals, it shows 8%, but the formulas still use 8.25%. Anyone who checks your maths with 8% gets different answers.
  4. Narrow columns. In the General format, a narrow column shows fewer decimals than the cell holds. Widen the column before you trust what you see.
  5. Thousands formats. A format that shows 1234567 as "1,235" (thousands) still stores 1234567. Use =ROUND(A2,-3) only if the rounded thousands are the real figure.
  6. Expecting ROUND to show zeros. =ROUND(2.5,2) displays 2.5 in General format. Add a two-decimal format.
  7. Tiny floating-point leftovers. Excel stores numbers in binary, so a result can be 0.899999999999999 instead of 0.9. ROUND cleans this up; see why Excel shows tiny rounding errors.

If a total looks wrong for another reason, such as numbers stored as text or a range that misses a row, work through why your Excel total is wrong.

What a job test usually checks#

An automated Excel test reads the stored value of a cell, not what it displays. So if a task says "round the tax to 2 decimal places" and you only click Decrease Decimal, the checker still sees 1.566675 and can mark the answer wrong. Use ROUND when the task says round.

When a task says format, display or show two decimals, it wants a number format, and wrapping everything in ROUND changes values the task didn't ask you to change.

In interviews, "What is the difference between ROUND and formatting a cell?" is a common question. A strong answer is one sentence: formatting changes how the number looks, ROUND changes the value that later formulas use. Then give an example, like the invoice above.

How to decide: a quick checklist#

Answer these in order. The first "yes" decides.

  1. Does the task or your company's rule say the amount is rounded (tax per line, pay to the cent)? Yes: use ROUND at that step.
  2. Must printed lines add up exactly to a printed total? Yes: ROUND each line, then SUM the rounded lines.
  3. Will another formula, IF test or lookup compare this exact number? Yes: use ROUND, or round inside the comparison.
  4. Is this an input such as a rate, unit cost or exchange rate? Yes: keep full precision and format it.
  5. Are you only making a report easier to read? Yes: format it.
  6. Do you need trailing zeros like 2.50 or a currency sign? Yes: format it, on top of ROUND if you used one.

Our recommendation#

Keep full precision by default and use number formats for everything people only read. Add ROUND at the one point where money is really rounded in your process, usually each invoice or payslip line, and nowhere earlier. Avoid Set precision as displayed unless you understand that it permanently changes the whole workbook.

When a total looks a cent out, click the cells above it and read the formula bar. If the stored values have more decimals than you see, you have found the cause, and ROUND is the fix.

Practise it#

Try the invoice exercise on this page: round the tax in D2 and compare it with the formatted line next to it. Then work through the ROUND, ROUNDUP and ROUNDDOWN lesson, which shows the difference between rounding and formatting on a price list. The more formatting lesson covers comma style, dates and resetting a cell to General, so you can control what a number looks like without changing it.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Column C holds the unrounded tax. Formatting it to 2 decimal places would only change what is shown, so the lines could add up to a total that looks a cent out. In D2, work out the tax on B2 at the rate in F1 and round it to 2 decimal places with ROUND, so the stored value matches what is printed.

fx
ABCDEFG
1
Item
Net
Tax (unrounded)
Tax (ROUND)
Tax rate
0.0825
2
Desk lamp
18.99
1.566675
3
HDMI cable
6.49
0.535425
4
Wireless mouse
24.95
2.058375
5
Stapler
11.75
0.969375
6
7
8

Tip: Put the whole tax calculation inside ROUND: =ROUND(net * rate, 2). Lock F1 with $ signs so the formula could be filled down.

Practise this in a lesson

LessonROUND, ROUNDUP and ROUNDDOWNControl decimals properly, which isn't the same as formatting.LessonMore formattingItalic and underline, comma style, date format, and resetting a cell to General.Function guideROUNDRound to decimals, whole numbers or the nearest thousand with Excel's ROUND. Learn when formatting isn't enough, then practice live.

Frequently asked questions

Does formatting a cell to 2 decimal places round the number in Excel?

+

No. It only rounds what you see. The cell keeps its full value, which you can check in the formula bar, and every formula that uses the cell works with that full value.

Why does my Excel total not match the numbers I can see?

+

The cells above the total are probably formatted to fewer decimals than they really hold. Excel adds the hidden decimals, so the total can be a cent away from the visible numbers. Round each line with ROUND if the lines must add up on paper.

Should I use ROUND or Decrease Decimal?

+

Use Decrease Decimal (or Format Cells) when you only want a tidier look. Use ROUND when the rounded number will be used in another formula, compared with something, or must match a printed total.

Is Set precision as displayed a good idea?

+

Rarely. It permanently cuts every number in the workbook to the decimals it shows, and Microsoft warns that you can't get the lost digits back. ROUND in the specific cells that need it is safer and easier to check.

Does ROUND add trailing zeros, like 2.50?

+

No. ROUND returns a number, and 2.5 is the same number as 2.50. To show the zero, apply a number format with two decimals as well.

Sources

  • ROUND function - Microsoft Support
  • Stop rounding numbers - Microsoft Support
  • Set rounding precision - Microsoft Support

Written and checked by the ExcelReady Team. First published December 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. ROUND vs number format: the difference at a glance
  2. The invoice that is off by a cent
  3. When to use number formatting
  4. When to use ROUND
  5. Edge cases and common mistakes
  6. What a job test usually checks
  7. How to decide: a quick checklist
  8. Our recommendation
  9. Practise it

Keep reading

Comparisons· 7 min read

ROUND vs ROUNDUP vs ROUNDDOWN (vs Formatting)

ROUND rounds to the nearest value, so 2.5 becomes 3 and 2.4 becomes 2. ROUNDUP always rounds away from zero, and ROUNDDOWN always rounds toward zero, whatever the next digit is. Formatting a cell to show fewer decimals is different: it only changes what you see, and Excel still calculates with the full value.

Math· 5 min read

Why Your Excel Total Is Wrong (and How to Fix It)

When Excel SUM is not working, the cause is usually one of three things: the range misses a row, some numbers are stored as text (SUM skips them), or the total cell is inside its own range, creating a circular reference. Check the range, compare =COUNTA and =COUNT on it, and end the range above the total.

Basics· 5 min read

Format Numbers as Currency, Percent and Dates in Excel

To format numbers in Excel, select the cells and press a shortcut: Ctrl+Shift+$ for currency, Ctrl+Shift+% for percent and Ctrl+Shift+# for a date. On a Mac, use Control (⌃), not ⌘. Ctrl+1 (⌘1) opens Format Cells for more choices. Formatting changes only how a number looks; the value Excel stores stays the same.

More on comparisons

  • Rows vs Columns in Excel: The Difference, With Examples
  • Scenario Manager vs Data Table in Excel: Which to Use
  • Slicer vs Filter in Excel: Which Is Better for Reports?
  • Sort Button vs SORT Function in Excel
  • Excel Sort Warning: Expand the Selection vs Current Selection
  • SORT vs SORTBY in Excel: Which Dynamic Sort
All comparisons articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free