ROUND Function

 

ROUND Function in Excel 

Summary

The Excel ROUND function returns a number rounded to a given number of digits. The

 ROUND function can round to the right or left of the decimal point.

Purpose

Round a number to a given number of digits Return value A rounded number.

Syntax

=ROUND (number, num_digits) Here, =ROUND (A2, B2) // Result is in C2

The formula is

The result is


Arguments              

• number - The number to round.

• num_digits - The number of digits to which number should be rounded.

Usage notes


• The ROUND function rounds a number to a given number of places. The number of places to

 round to is controlled by the number of digits provided to ROUND, as seen in the table below: 


Example 1 - round to right

To round values to the right of the decimal point, use a positive number for digits: 

=ROUND(A1,1) // Round to 1 decimal place



=ROUND(A2,2) // Round to 2 decimal places



=ROUND(A2,3) // Round to 3 decimal places



=ROUND(A2,4) // Round to 4 decimal places



Example 2 - round to left

To round values to the left of the decimal point, use zero or a negative number for digits:

=ROUND(A2,0) // Round to nearest whole number


=ROUND(A2,-1) // Round to nearest 10


=ROUND (A2,-2) // Round to nearest 100


=ROUND (A2,-3) // Round to nearest 1000

=ROUND (A2,-4) // Round to nearest 10000

Example 3 - nesting inside ROUND

Other operations and functions can be nested inside the ROUND function. For example, to

 round down the result of A1 divided by B1, you can ROUND in a formula like this:

 =ROUND(A2/B2,0) // round result to nearest integer


Any formula that returns a numeric result can be nested inside the ROUND function. 

Notes

Round works by rounding numbers 1-4 down and rounding numbers 5-9 up.

• The ROUND function rounds numbers to a specified level of precision, determined by

 num_digits.

• If a number is already rounded to the given number of places, no rounding occurs. 

Round to nearest 1000

Formula

=ROUND(number,-3)

Explanation

If you need to round a number to the nearest 1000, you can use the ROUND function and

 supply -3 for number of digits.

How this formula works

In the example, cell C2 contains this formula: =ROUND(A2,-3)


The result will be 


The value in A2 is 45955.784 and the result is 46000. With the ROUND function, negative

 numbers for the second argument round to the left of the decimal and positive numbers

 round to the right of the decimal. In this case, by supplying -3, we are telling ROUND to

 round the number to the 3rd place on the left – the 1000's place.

You can also see the video for more understanding:




Next Reading:

How to create Attendance sheet in Excel

XLOOKUP function

Computer


Comments

Popular posts from this blog

TDS on Salary – Entry in Tally

Post Dated Cheque (PDC) Management

Personal Accounts in Tally