SheetRocks
Documentation/Formulas/FIXED

FIXED

Formats a number as text with a fixed number of decimals

Syntax

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

Arguments

Argument Description Required
number The number you want to format Required
decimals The number of digits to the right of the decimal point. Defaults to 2. Optional
no_commas A logical value that prevents FIXED from including commas in the returned text Optional

Examples

Format number with 2 decimal places

=FIXED(260, 2)
Result ⇒ 260.00

Format large number with commas

=FIXED(1234567.89, 1)
Result ⇒ 1,234,567.9

Format number without commas

=FIXED(A1, A2, A3)
Result ⇒ 1234567.9
A
1 1234567.89
2 1
3 true

Related Functions

Other Text functions:


← Back to Formula Reference