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 =FIXED(A2,2) returns 1,234.57
Rounds a number to a set number of decimals and returns it as text, with or without thousands separators.
Syntax
=FIXED(, , )
All versions of Excel.
Try it
Edit the formula in C2 or change the inputs. The sheet recalculates as you type.
C2 =FIXED(A2,2) returns 1,234.57
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.
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.
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.
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.
| 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.
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.
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.
-2 rounds to the nearest hundred.TRUE leaves out the thousands separators. FALSE or leaving it out includes them.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
C2 =FIXED(A2,2)
Result: 1,234.57
The number rounds to two decimals and gets a thousands separator. The result is text.
C2 =FIXED(A2,2) returns 1,234.57
Example 2
C2 =FIXED(A2,0)
Result: 1,235
Zero decimals rounds to a whole number. The result is "1,235" as text.
C2 =FIXED(A2,0) returns 1,235
Example 3
C2 =FIXED(A2,1,TRUE)
Result: 1234.6
The third argument TRUE removes the thousands separator.
C2 =FIXED(A2,1,TRUE) returns 1234.6
Example 4
C2 =FIXED(A2,-2)
Result: 1,200
A negative decimals value rounds to the left of the decimal point.
C2 =FIXED(A2,-2) returns 1,200
Example 5
C2 =A2&" revenue was "&FIXED(B2,0)
Result: North revenue was 48,212
Without FIXED, the sentence would end with 48212.4567.
C2 =A2&" revenue was "&FIXED(B2,0) returns North revenue was 48,212
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.
=FIXED(1250) returns "1,250.00". Write FIXED(1250,0) for a whole number.=FIXED(A2,TRUE) puts TRUE in the decimals slot, so it does not remove the commas. Write =FIXED(A2,2,TRUE).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.
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")`.
Use a negative decimals value: `=FIXED(A2,-2)` for hundreds and `=FIXED(A2,-3)` for thousands.
Set the third argument to TRUE: `=FIXED(A2,2,TRUE)` returns 1234.57 instead of 1,234.57.
They are text. Sum the original numbers, or convert the text back with VALUE. FIXED is meant for display only.
Tracks take you from the basics to modelling, one graded exercise at a time.