How to Use To_Percent Function in Google Sheets

Published on

To_Percent function in Google Sheets is equivalent to its percent formatting via Format > Number > Percent formatting. That means this function is just for formatting numbers to the percentage (%) equivalent.

In formulas that returning proportionate part of a total, to express the proportionate part, we can use the To_Percent function.

Syntax:

TO_PERCENT(value)

Argument:

value – the number or reference to a cell to format to percent. If the value is not a number (as in the below formula), the To_Percent function will return the value without any formatting.

=to_percent(#N/A)

Result: #N/A

Examples to Google Sheets To_Percent Function:

To_Percent Function in Google Sheets

Real-Life Use of the To_Percent Function in Google Sheets

If you are looking for a real-life example to the To_Percent in Google Sheets, we can consider a sales percentage calculation.

AB
1Gross Sales Amt. Q1, 201916,800.00
2Gross Sales Amt. Q2, 2019 22,400.00
3Difference (Q2-Q1)5,600.00
4Sales Percentage (Difference/Q1)0.33

As per this example, there is a 33% increase in sales in Q2 compared to the sales in Q1.

To convert the provided sales percentage number, i.e. 0.33, in cell B4 to a percentage value, you can either use the To_Percent function or the format menu Percent format. Using the To_Percent, the formula will be as follows.

=to_percent(B3/B1)

There is a chance of wrongly using the function Unary_Percent with To_Percent. See how they differ.

Comparison: To_Percent Vs Unary_Percent

I have detailed the To_Percent function above. To understand the difference of this function with Unary_Percent you may please go thru’ the below formulas.

To_Percent Vs Unary_Percent in Docs Sheets

Hope you could understand the difference between the functions To_Percent and Unary_Percent.

The former function converts a provided number to a percentage value whereas the latter function returns a value interpreted as a percentage. Still having any doubt?

For example, To convert 20 to 20% (0.2) use the Unary_Percent function. To convert 0.2 to 20% (just formatting of number) use the To_Percent function.

You can check my function guide for tutorials on more Google Sheets functions.

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.

Sort Data but Keep Blank Rows in Excel and Google Sheets

Using a dynamic array formula or the FILTER command, we can sort data and...

Lookup Values Under Categories in Excel and Google Sheets

We can use a combination of XLOOKUP and VLOOKUP in both Excel and Google...

Extract Items Under a Category from the Same Column in Excel

In Excel, you can use a combination of the XLOOKUP and DROP functions to...

How to Create a Searchable Table in Excel Using the FILTER Function

Finding specific records, or rows containing the required information, is straightforward in Excel using...

More like this

XMATCH Row by Row: Finding Values Across a Range in Google Sheets

Using the BYROW function with XMATCH in Google Sheets allows us to match values...

Limit Formula Expansion to a Specific Row in Google Sheets

In this tutorial, I’ll explain how to limit the expansion of an array formula...

3-D Referencing Structured Data Tables in Google Sheets

When you have several tables within a single sheet—not across multiple sheets in a...

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.