Skip to content

FIXED

Rounds a number to a set number of decimals and returns it as text, with or without thousands separators.

Syntax

=FIXED(, , )

Text

All versions of Excel.

Try it

Edit the formula in C2 or change the inputs. The sheet recalculates as you type.

C2
A
B
C
1
Revenue
Region
Text
2
1234.567
North
1,234.57
3
4

C2 =FIXED(A2,2) returns 1,234.57

How FIXED works

FIXED rounds a number and returns it as text with a fixed number of decimals. It combines a ROUND and a number format in one step. Use it when you need rounded, formatted text inside a label or a joined string, with no format codes to remember.

The arguments

  • number is the number to format.
  • decimals is how many digits to keep after the decimal point. It is optional and defaults to 2.
  • no_commas is optional. Leave it out, or use FALSE, to get thousands separators. Use TRUE to leave them out.

=FIXED(1234.567,2) returns 1,234.57. =FIXED(1234.567,0) returns 1,235. =FIXED(1234.567,1,TRUE) returns 1234.6. With no second argument, =FIXED(1234.567) returns 1,234.57.

Rounding

FIXED rounds, it doesn't truncate. Halves round away from zero, so =FIXED(2.5,0) is 3 and =FIXED(-2.5,0) is -3. A negative decimals value rounds to the left of the decimal point: =FIXED(1234.567,-2) returns 1,200. The result has no decimal places in that case.

Text, not a number

The most important thing to remember is that FIXED returns text. 1,234.57 looks like a number but won't add up in a SUM, and it sorts as text. Keep the original number in its own cell for calculations. Use FIXED only for the display text.

If you need a rounded number you can calculate with, use ROUND. If you need a number that merely looks rounded, apply a number format to the cell.

FIXED, TEXT and ROUND

| Function | Returns | Best for | |---|---|---| | ROUND | A number | Calculations that need the rounded value | | FIXED | Text | Quick rounded text, with optional commas | | TEXT | Text | Any format: currency, percentages, dates, padding |

FIXED is a shortcut for the common case. =FIXED(A2,2) returns the same text as =TEXT(A2,"#,##0.00"). TEXT can do much more, but FIXED is simpler when all you need is decimals and commas.

DOLLAR is the currency version: it rounds and formats as text with a currency symbol.

Using FIXED in a sentence

The usual use is a label: ="Total: "&FIXED(B2,0). Without FIXED, Excel would join the unrounded number, such as 1234.567. FIXED also makes sure a value such as 1250 shows as 1,250.00 rather than 1250, so columns of text line up with the same decimals.

Regional settings

The thousands separator and decimal mark in the result follow your Excel regional settings. The examples here show the US form, 1,234.57. On a system set to another region, the same formula can show 1.234,57.

Arguments

number
The number to round and format.
decimalsoptional
How many digits to keep after the decimal point. The default is 2. A negative number rounds to the left of the decimal point, so -2 rounds to the nearest hundred.
no_commasoptional
TRUE leaves out the thousands separators. FALSE or leaving it out includes them.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Round to two decimals with thousands separators

C2 =FIXED(A2,2)

Result: 1,234.57

The number rounds to two decimals and gets a thousands separator. The result is text.

C2
A
B
C
1
Revenue
Region
Text
2
1234.567
North
1,234.57
3
4

C2 =FIXED(A2,2) returns 1,234.57

Example 2

Round to whole units

C2 =FIXED(A2,0)

Result: 1,235

Zero decimals rounds to a whole number. The result is "1,235" as text.

C2
A
B
C
1
Revenue
Region
Text
2
1234.567
North
1,235
3
4

C2 =FIXED(A2,0) returns 1,235

Example 3

Leave out the commas

C2 =FIXED(A2,1,TRUE)

Result: 1234.6

The third argument TRUE removes the thousands separator.

C2
A
B
C
1
Revenue
Region
Text
2
1234.567
North
1234.6
3
4

C2 =FIXED(A2,1,TRUE) returns 1234.6

Example 4

Round to the nearest hundred

C2 =FIXED(A2,-2)

Result: 1,200

A negative decimals value rounds to the left of the decimal point.

C2
A
B
C
1
Revenue
Region
Text
2
1234.567
North
1,200
3
4

C2 =FIXED(A2,-2) returns 1,200

Example 5

Use FIXED inside a sentence

C2 =A2&" revenue was "&FIXED(B2,0)

Result: North revenue was 48,212

Without FIXED, the sentence would end with 48212.4567.

C2
A
B
C
1
Region
Revenue
Summary
2
North
48212.4567
North revenue was 48,212
3
4

C2 =A2&" revenue was "&FIXED(B2,0) returns North revenue was 48,212

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In B2, show the revenue in A2 as text with one decimal place and thousands separators. Fill it down to B5.

Answer in B2, then it fills down to B5.

B2
A
B
C
D
1
Revenue
1 decimal
No commas
Nearest 100
2
1234.567
3
98765.4321
4
0.456
5
2000
6
7

Common mistakes

  • FIXED returns text. The result can't be summed, and it sorts as text. Keep the original number for calculations.
  • The default is two decimals, not zero. =FIXED(1250) returns "1,250.00". Write FIXED(1250,0) for a whole number.
  • Decimals is the second argument and no_commas is the third. =FIXED(A2,TRUE) puts TRUE in the decimals slot, so it does not remove the commas. Write =FIXED(A2,2,TRUE).
  • Thousands and decimal separators follow your regional settings. A formula that shows 1,234.57 on one computer can show 1.234,57 on another.
  • If you need a rounded number to calculate with, use ROUND. FIXED only makes text.

Questions people ask

What is the difference between FIXED and ROUND?

ROUND returns a number. FIXED returns text, with a fixed number of decimals and optional thousands separators. Use ROUND for calculations and FIXED for display text.

What is the difference between FIXED and TEXT?

FIXED only rounds and adds thousands separators. TEXT accepts any format code, including dates, percentages and currency. `=FIXED(A2,2)` is equivalent to `=TEXT(A2,"#,##0.00")`.

How do I round to the nearest hundred or thousand as text?

Use a negative decimals value: `=FIXED(A2,-2)` for hundreds and `=FIXED(A2,-3)` for thousands.

How do I remove the thousands separator?

Set the third argument to TRUE: `=FIXED(A2,2,TRUE)` returns 1234.57 instead of 1,234.57.

Why can't I sum the results of FIXED?

They are text. Sum the original numbers, or convert the text back with VALUE. FIXED is meant for display only.

Learn FIXED in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.