How to Use the FIXED Text Function in Google Sheets

Published on

The FIXED function in Google Sheets is specifically designed for formatting numbers with a fixed number of decimal places and optional thousand separators. Since it’s a text function, the formatted numbers are converted into text. This function is particularly useful in reports for consistently displaying financial or numeric data.

When formatting numbers using a formula, you can choose between the TEXT function and the FIXED function. The TEXT function requires a specific format pattern, while the FIXED function applies formatting without needing additional specifications.

Syntax of the FIXED Function in Google Sheets

FIXED(number, [number_of_places], [suppress_separator])

Arguments:

  • number – The number to be formatted.
  • number_of_places (optional) – Specifies the number of decimal places to display. The default is 2. If the number has more significant digits than the specified number_of_places, it will be rounded rather than truncated.
  • suppress_separator (optional) – Determines whether to include the thousand separator. By default, separators are included. Use 1 to exclude them and 0 to keep them.

Formula Examples for the FIXED Function in Google Sheets

1. Using FIXED Without Optional Arguments

The following formula in D2, copied down to D8, converts numbers into text while maintaining thousand separators and rounding to two decimal places:

=FIXED(B2)
FIXED Function with Two Decimal Places and a Thousand Separator in Google Sheets

This produces the same result as:

=FIXED(B2, 2, 0)

2. Formatting Numbers as Text Without Thousand Separators

If you want to remove the thousand separator, use the following formula:

=FIXED(B2, 2, 1)

This ensures that numbers are converted to text without commas.

FIXED Function with Two Decimal Places and No Thousand Separator in Google Sheets

Additional Tips for Using the FIXED Function in Google Sheets

Convert FIXED to an Array Formula

The FIXED function is a non-array function, meaning it typically works on individual cells. However, you can convert it into an array formula:

=ArrayFormula(FIXED(B2:B8, 2, 1))

This formula applies the FIXED function across the entire range B2:B8, returning results in D2:D8. If you encounter an error, ensure there are no existing values in D3:D8, as array formulas cannot overwrite existing data.

Using FIXED Formatted Text in Calculations

Since the FIXED function returns text values, you may need a workaround to use the formatted numbers in calculations. Multiply by 1 to convert the text back into numbers:

=SUM(ArrayFormula(FIXED(B2:B8, 2, 1) * 1))

Using the TEXT Function Instead of FIXED

In some cases, the TEXT function may be a better alternative, as it supports multiple formatting patterns. Here’s how to replace FIXED with TEXT:

Example 1: Formatting a Number with Two Decimal Places

=TEXT(1500, "0.00")

Example 2: Formatting with a Thousand Separator

=TEXT(1500, "#,###.00")

This formula handles empty cells differently compared to FIXED. While FIXED returns "0.00", TEXT returns ".00".

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

How to Sort Pie Slices in Google Sheets

To sort pie slices in a pie chart, you need to sort the data...

Filter Items Unique to Groups in Google Sheets

In this tutorial, we'll learn how to filter items unique to groups in Google...

Find Common Items Across Multiple Columns in Google Sheets

This tutorial explains how to find common items across multiple columns in Google Sheets....

Sort Column by Length of Text in Google Sheets

To sort a column by length of text, you can either use the QUERY...

More like this

How to Sort Pie Slices in Google Sheets

To sort pie slices in a pie chart, you need to sort the data...

Filter Items Unique to Groups in Google Sheets

In this tutorial, we'll learn how to filter items unique to groups in Google...

Find Common Items Across Multiple Columns in Google Sheets

This tutorial explains how to find common items across multiple columns in Google Sheets....

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.