HomeGoogle DocsSpreadsheetHow to Use To_Percent Function in Google Sheets

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.

SUMPRODUCT Differences: Excel vs. Google Sheets

The core purpose of the SUMPRODUCT function remains consistent across both Excel and Google...

Sum Values by Month and Category in Excel

With the help of EOMONTH, UNIQUE, and SUMIFS functions in Excel, you can efficiently...

Sum Values by Categories in Excel

In Excel, the easiest way to sum values in a range by categories is...

Filter Data from the Previous Month Using a Formula in Excel

Filtering data from the previous month may be useful for comparative analysis, generating reports,...

More like this

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

Google Sheets Bar and Column Chart with Target Coloring

To color each data point in the column or bar chart according to the...

Analyzing Column A Between Non-Adjacent Values in Column B: Google Sheets

This tutorial addresses a common scenario encountered in Google Sheets: how to sum, average,...

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.