logo
excelfunctions.org
bookmarks

FIXED

Formats a number as text with a fixed number of decimals.

TextText Processing

What it does

Rounds a number to the specified number of decimals and returns the result as text with or without commas.

Syntax

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

Arguments

  • number(number) β€” Number to format.
  • decimals(number) β€” Number of digits to the right of decimal.
  • no_commas(logical) β€” TRUE to prevent commas.

Examples

Fix Decimals

Format 1234.567 to 2 decimals.

FORMULA
=FIXED(1234.567, 2)
RESULT
1,234.57
SAMPLE DATA
A
1Value
21234.567