Excel function

FIXEDfunction

Rounds a number and converts it to text with commas.

All versions
=FIXED(1234567.891, 2)

Number11 chars

11
22
33
44
55
66
77
8.
98
109
111

Result (text)12 chars

11
2,1
32
43
54
6,2
75
86
97
10.
118
129

Enter -3 for decimals to round to the thousands. Try breaking it on purpose to see the errors.

Result

1,234,567.89

number

The number to round and convert to text.

decimals

Digits after the decimal point. Defaults to 2; a negative number rounds to the left of the decimal point.

no_commas

TRUE leaves out commas. Omitted or FALSE adds them.

What is the FIXED function?

=FIXED(number, [decimals], [no_commas])

FIXED rounds a number to the given number of decimal places and converts it to text with a comma every three digits.

Unlike ROUND, the result is text, not a number. Check on the strip above which digits rounding removes and where commas are added.

Arguments

number
The number to round and convert to text.
decimals
Digits after the decimal point. Defaults to 2. A negative number rounds to the left of the decimal point.
no_commas
TRUE leaves out commas. Omitted or FALSE adds them.

FIXED examples

  1. Example 1. Basic

    =FIXED(1234.567, 1)

    "1,234.6".

  2. Example 2. Negative decimals

    =FIXED(1234.567, -1)

    "1,230".

  3. Example 3. Without commas

    =FIXED(-1234.567, -1, TRUE)

    "-1230".

  4. Example 4. decimals left out

    =FIXED(44.332)

    Two decimal places: "44.33".

Common mistakes

FAQ

How is it different from TEXT?
FIXED(x, 2) gives the same result as TEXT(x, "#,##0.00"). TEXT supports many more formats, such as dates and %.
How many decimals?
Up to 127.