How to use the FLOOR function of "rounding" as you like?

Excel's FLOOR function is mainly used to round down to a specified multiple

This article introduces the formula syntax and usage of the FLOOR function in Microsoft Excel.

FLOOR function function

The FLOOR function is used to round down to a specified multiple, and the calculation retains the value after removing the specified digits

FLOOR function format

FLOOR(number,significance)

Translated into the vernacular format:

FLOOR(目标单元格,要保留位数)

Parameter Description

number: Specify the value or the cell reference in which the value is located, round down the parameter in the direction of decreasing absolute value to make it equal to the nearest multiple of significance.

significance: base

Precautions for using the FLOOR function:

①. If any parameter is a non-numeric parameter, FLOOR will return the error value #VALUE!.

②. If the sign of number and significance are opposite, the function FLOOR will return the error value #NUM!.

③. Regardless of the sign of number, the absolute value of the parameter will decrease during rounding. If number happens to be a multiple of significance, no rounding is required.

FLOOR function example:

Existing batch of goods need to be boxed, how many boxes and the remainder are needed?
Insert picture description here

Enter in cell E12:

=FLOOR(C12,D12)

Enter in cell F12:

=C12-E12

Enter in cell G12:

=E12/D12

Then select cell E12:G12 and fill the formula downward, as shown below:

Insert picture description here

Have you learnt that?

Thank you for watching. See you in the next issue. If you have any questions, please leave a message in the comment area or send a private message to us

If you are interested in the excel function formulas, you can follow us. Before the course is updated, you can take a look at our previous courses.

Want to learn more function knowledge, please pay attention to forwarding

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43152686/article/details/112761564