The Excel INT function returns the integer part of a decimal number by rounding down to the integer. Note that negative numbers become more negative.
INT Formula in Excel For example, while INT(10.
returns 10, INT(-10.
returns -11. It removes the fractional part of a number and, thus, truncates a number to an integer. It was introduced in MS Excel 2007.
TRUNC Formula in Excel In financial analysis, the function ... Use the IF function, one of the logical functions, to return one
IF Formula in Excel value if a condition is true and another value if it's false. For example, the formula =SUMIF(B2:B5, "John", C2:C5) sums only the values in the range C2:C5, where the corresponding cells in the range B2:B5 equal "John."
IF + SUM Formula In Excel To sum cells based on multiple criteria, see SUMIFS function.