Como usar a fórmula ROUND no Planilhas Google

While working with spreadsheets, we tend to come across many numbers that are rational. Some of them have more decimal values after the decimal point than desired. And our requirement may be such that we need to confine the rational values to the desired number of decimal places. We can do that with the help of the ROUND no Planilhas Google.

Sintaxe

ROUND(value, [places])

  • valor – is the numeric value that we need to round off. It can also be a reference to the cell that contains the numeric value.
  • places – [ OPTIONAL – 0 by default ] – is the number of decimal places until which we need to round the value to.

Please note that the places parameter can also be negative. In such cases, the values are rounded at the specified number of digits to the left of the decimal point.

Usage: ROUND formula in Google Sheets

Let’s go right ahead and try the formula on the Google Sheets application. This should reinforce our understanding of the formulas. Please consider the following screenshot.

ROUND Formula in Google Sheets: Usage

As is the case with almost all the Google Sheets formulas, both parameters of the ROUND formula accepts direct numeric values as well as cell references.

The very first example uses 0 for the places parameter. This indicates that the formula should ignore all the values after the decimal point, and then round off the number as per the standard norms. The values 1, 2, and 3 for places parameter results in one, two, and three values after the decimal point. We illustrate this in the examples in rows 3, 4 and 5.

It gets interesting when we start using the negative values for the places parameter. A value of -1 for the places parameter gets us one zero at the end, after rounding off the tenth place. But, there won’t be any decimal point in the output. Similarly, a value of -2 on the second parameter gets us two zeros at the end, after rounding off the hundredth place.

Você também pode gostar...

Recursos e fórmulas do Google Sheets

Como encontrar a taxa de juros nominal usando o Planilhas Google

Sarah é uma jovem profissional que está tomando decisões financeiras importantes. De cartões de crédito a hipotecas, empréstimos estudantis e investimentos...
Recursos e fórmulas do Google Sheets

Extrair dados do Google Agenda para o Planilhas Google usando o Apps Script

Esta postagem foi publicada originalmente em nosso fórum da comunidade. Objetivo: Este guia demonstra como usar o Google Apps Script para extrair dados...
Recursos e fórmulas do Google Sheets

Usando a função PROPER para colocar a primeira letra de cada palavra em maiúscula no Planilhas Google

Observação: esta postagem foi publicada originalmente em nosso fórum da comunidade. Alguma vez você já precisou limpar uma lista de nomes, títulos ou qualquer...