1. Home
  2. Functions
  3. Text
  4. FIXED

FIXED function

Rounds a number to a number of decimals and returns it as text, with or without thousands separators.

Syntax

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

Arguments

ArgumentRequiredDescription
numberRequiredThe number to round and format
decimalsOptionalDigits after the decimal point (2 when left out)
no_commasOptionalTRUE to leave out thousands separators

How to use FIXED

FIXED takes 1 required argument and 2 optional arguments. Type =FIXED( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=FIXED(1234.567, 1)Result "1,234.6"
=FIXED(1234.567, -1)Result "1,230"
=FIXED(-1234.567, -1, TRUE)Result "-1230"

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.