FIXED function
Rounds a number to a set number of decimals and returns it as text, with or without thousands separators.
Available in All versions of Excel, including Microsoft 365, Excel for Mac and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
FIXED(number, [decimals], [no_commas])| Argument | What it means | |
|---|---|---|
number | Required | The number to round and convert. |
decimals | Optional | Digits after the decimal point. Default 2. Negative values round to the left of the decimal point. |
no_commas | Optional | TRUE leaves out the thousands separators. FALSE or omitted includes them. |
Returns: The rounded number as text, e.g. "1,234.57".
How FIXED works
FIXED does two things at once: it rounds a number (like ROUND) and turns it into text with a fixed number of decimals and, optionally, thousands separators. It is handy for labels, report headings or export files where a number must appear with exactly two decimals, no matter how the cell is formatted.
It is like DOLLAR without the currency symbol, and like a simplified TEXT. The separators come from your regional settings (a German PC writes 1.234,57). Remember that the output is text: it is left-aligned by default and cannot be summed. Keep the original number for calculations.
Up to 127 decimals are allowed, but Excel only stores 15 significant digits, so very long decimal tails just add zeros.
Examples
1Two decimals with separators (default)
| A | B | C | |
|---|---|---|---|
| 1 | Item | Amount | |
| 2 | Freight | 1234.567 | 1,234.57 |
Result: 1,234.57
With the defaults FIXED rounds to 2 decimals and adds a comma.
2One decimal in a label
| A | B | C | |
|---|---|---|---|
| 1 | Region | Growth % | |
| 2 | South | 7.456 | South grew 7.5% |
Result: South grew 7.5%
FIXED rounds 7.456 to 7.5 and keeps the trailing decimal even when it is zero, which a joined raw number would not.
3No separators for a CSV export
| A | B | C | |
|---|---|---|---|
| 1 | Item | Amount | |
| 2 | Freight | 1234.567 | 1234.57 |
Result: 1234.57
no_commas set to TRUE removes the thousands separator, which many import routines require.
4Round to tens
| A | B | C | |
|---|---|---|---|
| 1 | Item | Amount | |
| 2 | Freight | 1234.567 | 1,230 |
Result: 1,230
A negative decimals rounds left of the point: 1,234.567 becomes 1,230.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | number is text that cannot be read as a number. | Convert it with VALUE or NUMBERVALUE first. |
Tips
- If you need a currency symbol, percentage sign or date look, use TEXT, which accepts any number format.
- To turn a FIXED result back into a number, wrap it in VALUE.
Google Sheets
FIXED also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
FIXED in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | ZAOKROUHLIT.NA.TEXT |
| Danish | FAST |
| Dutch | VAST |
| Finnish | KIINTEÄ |
| French | CTXT |
| German | FEST |
| Hungarian | FIX |
| Italian | FISSO |
| Norwegian (Bokmål) | FASTSATT |
| Polish | ZAOKR.DO.TEKST |
| Portuguese (Brazil) | DEF.NÚM.DEC |
| Portuguese (Portugal) | FIXA |
| Russian | ФИКСИРОВАННЫЙ |
| Spanish | DECIMAL |
| Swedish | FASTTAL |
| Turkish | SAYIDÜZENLE |