Explanation

The Excel TRUNC function does no rounding, it just returns a truncated number.

It has an optional second argument (num_digits) to specify precision.

Whennum_digitsis not provided, it defaults to zero.

Excel formula: Data validation unique values only

Additional conditions can be added with the AND function.

Notes: Data validation rules are triggered when a user adds or changes a cell value.

For example, TRUNC(4.9) will return 4, and TRUNC(-3.5) will return -3.

Excel formula: Data validation allow numbers only

The TRUNC function does no rounding, it simply truncates as specified.

AND returns TRUEonly if all the conditions are met.

If any conditions are not met, the AND function returns FALSE.

Excel formula: Data validation allow text only

The AND function is commonly used with other…

Excel formula: Highlight integers only

Excel TRUNC function

Excel AND function