TRUNC vs ROUNDDOWN

amiroo

Board Regular
Joined
Dec 24, 2013
Messages
124
Office Version
  1. 2019
Platform
  1. Windows
hi,
does anybody knows what is difference between TRUNC and ROUNDDOWN functions in excel?

except optional or required for second argument
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
As far as I know, there is no other difference.
 
Upvote 0
My guess is that ROUNDDOWN fits with the whole range of rounding functions and TRUNC may have been originally included to provide compatibility with earlier spreadsheet forms that perhaps had such a function.
 
Upvote 0
If we want to truncate (toward zero) to an integer, we must write ROUNDDOWN(A1,0), whereas we can write TRUNC(A1).

In other words, the second parameter is optional for TRUNC; not for ROUNDDOWN.

But I agree with Peter: the most likely explanation is compatibility with either other spreadsheets or customer expectations.

BTW, note the difference between TRUNC(A1) and INT(A1) when A1 is negative. The latter rounds down away from zero; that is, always to the left of the real number line.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top