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.

Filter Top N per Category in Excel (Using FILTER & COUNTIFS)

You can use a combination of FILTER and COUNTIFS to filter the top N...

Rank per Group in Excel

You have two groups of 20 students each. How do you determine the rank...

Real-Time Excel Filtering Using Combo Box & FILTER Function

In this tutorial, you’ll learn how to set up real-time Excel filtering using a...

Google Sheets: Extract Top N per Group from Query Aggregation

When working with grouped and aggregated data in Google Sheets, you might need to...

More like this

Google Sheets: Extract Top N per Group from Query Aggregation

When working with grouped and aggregated data in Google Sheets, you might need to...

How to Extract Top N from Aggregated Query Results in Google Sheets

To summarize data in Google Sheets, you can use the QUERY function. However, if...

How to Use RANK IF in Google Sheets (Conditional Ranking)

You can use the RANK function to rank values in an entire dataset. But...

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.