When we work with data in an Excel table, we often get rid of the decimal parts of the data, so how do we do that? Excel provides a trunc function that allows you to easily remove the decimal point, with the following steps:
1, as the figure: there are some numbers in the Excel table, now want to keep the integer, and double-click the table does not appear after the decimal number.
2, just want to keep the integer, then, just enter the function in column B: =trunc (A1), as shown in figure:
3, after the second step, click the Return key: Enter, and then use the fill handle pull down to get the whole number, is not very simple, as shown:
The above is the use of trunc function to remove the decimal point of the method, the need for friends can refer to the next. There are also a number of functions to remove the decimal point of the data, such as: INT, TRUNC, RoundDown, ROUNDUP, here do not do more introduction.
This article source: Network teaching Base original address: http://www.studynb1.com/excel/341.html