Whether you’re a beginner or an experienced user, FIXED function can come in handy for formatting numbers and ensuring that they appear as you want them to in your spreadsheet.

The FIXED function allows you to specify the number of decimal places that you want a number to be rounded to, as well as whether or not you want to include a thousands separator. This can be especially useful when you’re working with large numbers or when you need to present your data in a specific way. In the following paragraphs, we’ll take a closer look at how to use the FIXED function and some examples of when it might be helpful.

Table of Contents

## Definition of FIXED Function

The FIXED function in Google Sheets is a built-in function that allows you to format a number by specifying the number of decimal places to round it to and whether or not to include a thousands separator. It takes two arguments: the number to be formatted and the number of decimal places to round it to. The syntax for the FIXED function is FIXED(number, [decimals], [no_commas]), where number is the number to be formatted, decimals is the number of decimal places to round the number to (optional, default is 0), and no_commas is a boolean value indicating whether to include a thousands separator (optional, default is FALSE). The FIXED function returns the formatted number as a string.

## Syntax of FIXED Function

The syntax for the FIXED function in Google Sheets is as follows:

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

- number is the number to be formatted. This is a required argument.
- decimals is the number of decimal places to round the number to. This is an optional argument, and the default value is 0 if not specified.
- no_commas is a boolean value indicating whether to include a thousands separator. This is an optional argument, and the default value is FALSE if not specified.

Here’s an example of how you might use the FIXED function in a formula:

=FIXED(A1, 2, TRUE)

In this example, the value in cell A1 will be formatted with 2 decimal places and no thousands separator. The function will return the formatted number as a string.

## Examples of FIXED Function

Here are three examples of how you can use the FIXED function in Google Sheets:

- Round a number to two decimal places:
=FIXED(A1, 2)

In this example, the value in cell A1 will be rounded to two decimal places. If the value in cell A1 is 123.456, the function will return “123.46”.

- Include a thousands separator:
=FIXED(A1, 0, TRUE)

In this example, the value in cell A1 will be formatted with no decimal places and a thousands separator. If the value in cell A1 is 123456, the function will return “123,456”.

- Round a number to four decimal places and include a thousands separator:
=FIXED(A1, 4, TRUE)

In this example, the value in cell A1 will be rounded to four decimal places and formatted with a thousands separator. If the value in cell A1 is 123456.789, the function will return “123,456.7890”.

## Use Case of FIXED Function

Here are a few examples of how you might use the FIXED function in real life scenarios:

- Budgeting: You can use the FIXED function to format amounts in a budget spreadsheet to ensure that all of the numbers are displayed with the same number of decimal places. For example, you might use the following formula to format all amounts with two decimal places:
=FIXED(A1, 2)

- Invoicing: If you create invoices using Google Sheets, you might use the FIXED function to format the amounts on the invoice to include two decimal places. This can help to ensure that all of the amounts are displayed consistently.
- Data analysis: When you’re analyzing data in a spreadsheet, you might use the FIXED function to round numbers to a specific number of decimal places. For example, you might use the following formula to round all numbers in column A to one decimal place:
=FIXED(A1, 1)

- Reporting: If you’re creating reports that need to be presented in a specific format, you might use the FIXED function to format numbers to meet the requirements of the report. For example, you might use the following formula to format all numbers in column A with no decimal places and a thousands separator:
=FIXED(A1, 0, TRUE)

## Limitations of FIXED Function

There are a few limitations to consider when using the FIXED function in Google Sheets:

- The FIXED function only works with numbers. If you try to use it with a cell that contains text or a formula that returns an error, the function will return an error as well.
- The FIXED function rounds numbers to the specified number of decimal places, but it does not perform other types of mathematical operations. For example, if you use the FIXED function to round a number to two decimal places, it will not add or subtract any additional decimals.
- The FIXED function does not change the underlying value of the number. It simply formats the number for display purposes. If you need to perform calculations with the formatted number, you will need to use additional functions or formulas.
- The FIXED function does not support negative numbers in the “decimals” argument. If you enter a negative number, the function will return an error.

## Commonly Used Functions Along With FIXED

Here are some commonly used functions that can be used in combination with the FIXED function in Google Sheets:

- ROUND: The ROUND function rounds a number to a specified number of decimal places. You can use the ROUND function to round a number before using the FIXED function to format it. For example:
=FIXED(ROUND(A1, 2), 2)

In this example, the value in cell A1 is rounded to two decimal places using the ROUND function, and then the FIXED function is used to format the rounded number with two decimal places.

- INT: The INT function returns the integer part of a number. You can use the INT function to remove the decimal part of a number before using the FIXED function to format it. For example:
=FIXED(INT(A1), 0)

In this example, the value in cell A1 is converted to an integer using the INT function, and then the FIXED function is used to format the integer with no decimal places.

- SUM: The SUM function adds up a range of cells. You can use the SUM function to add up a range of numbers and then use the FIXED function to format the result. For example:
=FIXED(SUM(A1:A5), 2)

In this example, the SUM function is used to add up the values in cells A1 through A5, and then the FIXED function is used to format the result with two decimal places.

- AVERAGE: The AVERAGE function calculates the average of a range of cells. You can use the AVERAGE function to calculate the average of a range of numbers and then use the FIXED function to format the result. For example:
=FIXED(AVERAGE(A1:A5), 2)

In this example, the AVERAGE function is used to calculate the average of the values in cells A1 through A5, and then the FIXED function is used to format the result with two decimal places.

## Summary

In summary, the FIXED function is a handy tool for formatting numbers in Google Sheets. It allows you to specify the number of decimal places to round a number to and whether or not to include a thousands separator. The function is easy to use and can be helpful in a variety of scenarios, such as budgeting, invoicing, data analysis, and reporting.

If you haven’t already, we encourage you to try using the FIXED function in your own Google Sheets. It’s a simple way to ensure that your numbers are displayed consistently and can help to make your data more readable and professional. Give it a try and see how it can benefit your workflows.

## Video: FIXED Function

In this video, you will see how to use FIXED function. We suggest you to watch the video to understand the usage of FIXED formula.