Google Sheets FIXED Function

This post will guide you how to use Google Sheets FIXED function with syntax and examples.

Description


The Google Sheets FIXED function rounds a number to the specified number of decimal places and returns the result as text string and not a number.

The FIXED function can be used to format a number to text with a fixed number of decimal places in Google Sheets. And it returns a number formatted as text value.

The FIXED function is a build-in function in Google Sheets and it is categorized as a Text Function.

Syntax


The syntax of the FIXED function is as below:

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

Where the FIXED function arguments are:

  • number -This is a required argument. The number to be rounded and converted into text string.
  • Decimals -This is an optional argument. It will specify the number of decimal places to be displayed after decimal point.
  • No_commas – This is an optional argument.  This is a logical argument. If it is set to TRUE, the result will not separate number groups by commas, or commas are included in the result text string. (If this argument is omitted, the result text string will include commas as default)

Notes:

  • If Decimals value is omitted, it is set to be 2 by default.  If Decimals value is negative, the number is rounded to the left of the decimal point.
  • The FIXED function can take three arguments, number, decimals and no_commas. Number is the number to convert. And Decimals is the number of decimal places which number value should be rounded on the right of the decimal point. If you want to round the left of the decimal point for number, and you can set the decimal value as a negative number.
  • The no_commas argument is a Boolean value that can be used to control whether commas character should be added to the last text result.
  • The result can not be used in a numeric calculation, as it returns as a text value.

Google Sheets FIXED Function Examples


The below examples will show you how to use Google Sheets FIXED function to round a number to the specified number of decimal places.

#1 To round the number in B1 cell two digits to the right of the decimal point, just using the following FIXED formula:

= FIXED(B1,2)

google sheets fixed function1

#2 To round the number in B2 cell two digits to the left of the decimal point, just using the following formula:

=FIXED(B1,-2)

google sheets fixed function1

x
How to Select Every Other Row in Excel

#3 To round the number in B3 cell two digit to the left of the decimal point without commas, just using the following formula:

= FIXED(B1,-2,TRUE)

google sheets fixed function1

Related Posts

Google Sheets PROPER Function
google sheets proper function1

This post will guide you how to use Google Sheets PROPER function with syntax and examples. Description The Google Sheets PROPER function capitalizes the first character in each word of a text string and set other characters to lowercase . ...

Google Sheets MIDB Function
google sheets midb function1

This post will guide you how to use Google Sheets MIDB function with syntax and examples. Description The Google Sheets MIDB function returns a substring (a specified number of bytes) starting from the middle of a text string and up ...

Google Sheets MID Function
google sheets mid function

This post will guide you how to use Google Sheets MID function with syntax and examples. Description The Google Sheets MID function returns a substring (a specified number of the characters) starting from the middle of a text string. The ...

Google Sheets LOWER Function
google sheets lower function1

This post will guide you how to use Google Sheets LOWER function with syntax and examples. Description The Google Sheets LOWER function converts all characters in a text string to lowercase. The LOWER function can be used to convert a ...

Google Sheets LENB Function
google sheets lenb function1

This post will guide you how to use Google Sheets LENB function with syntax and examples. Description The Google Sheets LENB function returns the length of a text string in bytes. The LENB function can be used to count the ...

Google Sheets LEN Function
Google sheets len function1

This post will guide you how to use Google Sheets LEN function with syntax and examples. Description The Google Sheets LEN function returns the length of a text string (the number of characters in a text string). The LEN function ...

Google Sheets LEFTB Function
google sheets leftb function

This post will guide you how to use Google Sheets LEFTB function with syntax and examples. Description The Google Sheets LEFTB function returns a substring (a specified number of the bytes) from a text string, starting from the left portion. ...

Google Sheets LEFT Function
google sheets left function

This post will guide you how to use Google Sheets LEFT function with syntax and examples. Description The Google Sheets LEFT function returns a substring (a specified number of the characters) from a text string, starting from the leftmost character. ...

Google Sheets JOIN Function
Google sheets join function

This post will guide you how to use Google Sheets JOIN function with syntax and examples. Description The Google Sheets JOIN function joins two or more text strings together and separated by a delimiter. you can select an entire range ...

Google Sheets FINDB Function
Google sheets findb function 1

This post will guide you how to use Google Sheets FINDB function with syntax and examples. Description The Google Sheets FINDB function returns the position of the first text string (sub string) within another text string counting each double-character as ...

Sidebar