Text function

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])
ArgumentWhat it means
numberRequiredThe number to round and convert.
decimalsOptionalDigits after the decimal point. Default 2. Negative values round to the left of the decimal point.
no_commasOptionalTRUE 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)

C2fx=FIXED(B2)
ABC
1ItemAmount
2Freight1234.5671,234.57

Result: 1,234.57

With the defaults FIXED rounds to 2 decimals and adds a comma.

2One decimal in a label

C2fx=A2&" grew "&FIXED(B2,1)&"%"
ABC
1RegionGrowth %
2South7.456South 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

C2fx=FIXED(B2,2,TRUE)
ABC
1ItemAmount
2Freight1234.5671234.57

Result: 1234.57

no_commas set to TRUE removes the thousands separator, which many import routines require.

4Round to tens

C2fx=FIXED(B2,-1)
ABC
1ItemAmount
2Freight1234.5671,230

Result: 1,230

A negative decimals rounds left of the point: 1,234.567 becomes 1,230.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
CzechZAOKROUHLIT.NA.TEXT
DanishFAST
DutchVAST
FinnishKIINTEÄ
FrenchCTXT
GermanFEST
HungarianFIX
ItalianFISSO
Norwegian (Bokmål)FASTSATT
PolishZAOKR.DO.TEKST
Portuguese (Brazil)DEF.NÚM.DEC
Portuguese (Portugal)FIXA
RussianФИКСИРОВАННЫЙ
SpanishDECIMAL
SwedishFASTTAL
TurkishSAYIDÜZENLE