excel实用技巧:mod、Int、round、rand、product

2025-05-17 06:28:27

1、 一、mod函数的使用: mod函数的作用是返回两数相除的余数,余数的正负与除数的正负相同。如图所示,5除3的余数为2.

excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product

2、 二、int函数的使用: int函数的作用是将数字向下舍入到最接近的整数。如图所示,将数字2.5向下舍入到最接近的整数是2

excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product

3、 三、round函数的使用: round函数的作用是返回某稍僚敉视个数字按指定位数取整后的数字,有两个参数,参数1是要取整的数值,参数2是指定的位数。如图所示,将数字12.53指定1醐蛑臀谁位小数后取整,结果是12.5.

excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product

4、 四、rand函数的使用: rand函数的作用是返回大于等于 0 及小于 1 的均匀分布随机数,每次计算工作表时都将返回一个新的数值。如图所示,得到一个随机的数字。

excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product

5、 五、product函数的使用: product函数的作用是将所有以参数形式给出的数字相乘,并返回乘积值。这个函数是做乘积,如图所示。

excel实用技巧:mod、Int、round、rand、product
excel实用技巧:mod、Int、round、rand、product

6、 六、power函数的使用: power函数的作用是返回给定数字的幂次方。它有两个参数,参数1是底数,参数2是幂次方,如图所示,求7的3次方得343

excel实用技巧:mod、Int、round、rand、product
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢