计算机Excel函数整编汇总.doc
《计算机Excel函数整编汇总.doc》由会员分享,可在线阅读,更多相关《计算机Excel函数整编汇总.doc(8页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、4.8.34.8.3 常用函数常用函数Excel 一共提供了数百个内部函数,限于篇幅,此处仅对一些最常用的函数作一简单 介绍。如有需要,可查阅 Excel 的联机帮助或其它参考资料,以了解更多函数和更详细的 说明。 1 1、数学函数、数学函数 (1) 绝对值函数 ABS 格式:ABS(number) 功能:返回参数 number 的绝对值。 例如:ABS(-7)的返回值为 7;ABS(7)的返回值为 7。(2) 取整函数 INT 格式:INT(number) 功能:取一个不大于参数 number 的最大整数。 例如:INT(8.9),INT(-8.9) 其结果分别是 8,-9。(3) 圆周率函
2、数 PI 格式:PI() 功能:返回圆周率 的值。 说明:此函数无需参数,但函数名后的括号不能少。(4) 四舍五入函数 ROUND 格式:ROUND(number,n) 功能:根据指定位数,将数字四舍五入。 说明:其中 n 为整数,函数按指定 n 位数,将 number 进行四舍五入。当 n0,数字将被四 舍五入到所指定的小数位数;当 n0,数字将被四舍五入成整数;当 n=40“)为 2。例 在工资表中统计职称是副教授的人数和 40 岁以上职工人数。=countif(c3:c22,”副教授”) =countif(e3:e22,”=40”)(5) 最大值函数 MAX 格式:MAX(number1
3、,number2,) 功能:求参数表(最多 30 个)中的最大值。 说明:参数可以是数值、空白单元格、逻辑值或数字的文本表达式等。错误值或不能转化 为数值的文字作为参数时,会引起错误。若参数中不含数字,则返回 0。 例如:MAX(78, “98“,TRUE,66)的计算结果为 98。(6) 最小值函数 MIN 格式:MIN(number1,number2,) 功能:求参数表(最多 30 个)中的最小值。 说明:参数说明与 MAX 相同。3 3、文本函数、文本函数 (1) LOWER 函数 格式:LOWER(text) 功能:将一个字符串中的所有大写字母转换为小写字母。 说明:text 是要转换
4、为小写形式的字符串。函数 LOWER 不改变字符串中的非字母的字符。 例如:LOWER(“Apt. 2B“) 等于 “apt. 2b“。(2) UPPER 函数 格式: UPPER(text) 功能:将一个字符串中的所有小写字母转换为大写字母。 说明:text 是要转换为大写形式的字符串。函数 UPPER 不改变字符串中的非字母的字符。relationship, established equivalent relationship 14, and subject: application problem (4)-scores and percentage application proble
5、m review content overview answers scores, and percentage application problem of key is: according to meaning, (1) determine standard volume (units “1“) (2) find associate “volume rate corresponds to“ relationship, Then in-line solution. Category fraction multiplication word problem score Division ap
6、plications engineering problem problem XV, a subject: review of the measurement of the amount of capacity, measurement and units of measurement of common units of measurement and their significance in rate 1, currency, length, area, volume, unit size, volume, weight and rate. (Omitted) 2, commonly u
7、sed time units and their relationships. (Slightly) with a measurement units Zhijian of of poly 1, and of method 2, and poly method 3, and of method and poly method of relationship measurement distance of method 1, and tool measurement 2, and estimates 16, and subject: geometry preliminary knowledge
8、(1)-line and angle review content line, and segment, and Ray, and vertical, and parallel, and angle angle of classification (slightly) 17, and subject: geometry preliminary knowledge (2)-plane graphics review content triangle, and edges shaped, and round, and fan axisymmetric graphics perimeter and
9、area combination graphics of area subject : Preliminary knowledge (3)-review of solid content category 1-d shapes are divided into: cylinder and cone 2, column is divided into: cuboid, square 3, cone cone of the features of cuboids and cubes relationship between characteristics of circular cone is s
10、lightly solid surface area and volume 1, size 2, table .和和4例如:UPPER(“total“) 等于 “TOTAL“。(3) LEFT 函数 格式:LEFT(text,num_chars) 功能:在字符串 text 中从左边第一个字符开始截取 num_chars 个字符。 说明:参数 num_chars 为截取的字符串的长度,必须大于等于零。如果 num_chars 大于 text 的总长度,则返回 text 全部内容。如果省略 num_chars,则视为 1。 例如:LEFT(“计算机应用基础“,5)为 “计算机应用” ,LEFT(“
11、abcd“)为 “a” 。(4) RIGHT 函数 格式:RIGHT(text,num_chars) 功能:在字符串 text 中从右边第一个字符开始截取 num_chars 个字符。 说明:参数说明同 LEFT 函数。 例如:RIGHT(“Merry,Chrismas“,8)为 “Chrismas” ,RIGHT(“abcd“)为 “d” 。(5) MID 函数 格式:MID(text,start_num,num_chars) 功能:从字符串 text 的第 start_num 个字符开始截取 num_chars 个字符。 说明:start_num 是截取字符串的起始位置。如果 start_
12、num 大于字符串的长度,则函数 mid 返回“” (空字符串) ;如果 start_num 小于字符串的长度,但 start_num 与 num_chars 的和超过字符串长度,则函数 mid 返回从 start_num 到字符串结束的所有 字符;如果 start_num 小于 1,则函数 Mid 将返回错误值#VALUE! 例如:MID(“peking university“,1,6)为“peking”(6) LEN 函数 格式:LEN(text) 功能:返回字符串 text 中字符的个数。 例如:len(“university“)为 10。4 4、日期与时间函数、日期与时间函数 (1)
13、DATE 函数 格式:DATE(year,month,day) 功能:返回指定日期的序列数,所谓序列数是从 1900 年 1 月 1 日到所输入日期之间的总天 数。 说明:year 代表年份,是介于 1900 到 9999 之间的一个数字。month 代表月份,如果输入 的月份大于 12,将从指定年份的一月份开始往上加算。day 代表该月份中第几天, 如果 day 大于该月份的最大天数,将从指定月份的第一天开始往上加算。 例如:DATE(2008,5,1)为 39569,返回代表 2008 年 5 月 1 日的序列数。(2) YEAR 函数 格式:YEAR(serial_number) 功能:
14、返回于序列数 serial_number 相对应的年份数。 例如:YEAR(39569)为 2008。relationship, established equivalent relationship 14, and subject: application problem (4)-scores and percentage application problem review content overview answers scores, and percentage application problem of key is: according to meaning, (1) dete
15、rmine standard volume (units “1“) (2) find associate “volume rate corresponds to“ relationship, Then in-line solution. Category fraction multiplication word problem score Division applications engineering problem problem XV, a subject: review of the measurement of the amount of capacity, measurement
16、 and units of measurement of common units of measurement and their significance in rate 1, currency, length, area, volume, unit size, volume, weight and rate. (Omitted) 2, commonly used time units and their relationships. (Slightly) with a measurement units Zhijian of of poly 1, and of method 2, and
17、 poly method 3, and of method and poly method of relationship measurement distance of method 1, and tool measurement 2, and estimates 16, and subject: geometry preliminary knowledge (1)-line and angle review content line, and segment, and Ray, and vertical, and parallel, and angle angle of classific
18、ation (slightly) 17, and subject: geometry preliminary knowledge (2)-plane graphics review content triangle, and edges shaped, and round, and fan axisymmetric graphics perimeter and area combination graphics of area subject : Preliminary knowledge (3)-review of solid content category 1-d shapes are
19、divided into: cylinder and cone 2, column is divided into: cuboid, square 3, cone cone of the features of cuboids and cubes relationship between characteristics of circular cone is slightly solid surface area and volume 1, size 2, table .和和5(3) MONTH 函数 格式:MONTH(serial_number) 功能:返回序列数 serial_number
20、 相对应的月份数。 例如:MONTH(39569)为 5。(4) DAY 函数 格式:DAY(serial_number) 功能:返回序列数 serial_number 相对应的天数。 例如:DAY(39569)为 1。(5) TODAY 函数 格式:TODAY() 功能:返回计算机系统内部时钟现在日期的序列数。 例如:TODAY()为 39570,表示计算机系统当前日期是 2008 年 5 月 2 日。(6) TIME 函数 格式:TIME(hour,minute,second) 功能:返回指定时间的序列数。 说明:该序列数是一个介于 0 到 0.之间的十进制小数,对应着自 0:00:00(
21、12:00:00 AM) 到 23:59:59(11:59:59 PM)的时间。其中 hour 介于 0 到 23,代表小时;minute 介 于 0 到 59,代表分钟;second 介于 0 到 59,代表秒。 例如:TIME(12,0,0)为 0.5,对应 12:00:00 PM;TIME(17,58,10)为 0.,对应 5:58PM。(7) NOW 函数 格式:NOW() 功能:返回计算机系统内部时钟的现在日期和时间的序列数。 说明:该序列数是一个大于 1 的带小数的正数,其中整数部分代表当前日期,小数部分代 表当前时间。 例如:NOW()为 39523.,表示 2008 年 3 月
22、 16 日 11:52AM。5 5、逻辑函数、逻辑函数 (1) AND 函数 格式:AND(logical1,logical2,logical30) 功能:当所有参数的逻辑值为真(TRUE)时返回 TRUE;只要一个参数的逻辑值为假 (FALSE)即返回 FALSE。 说明:logical1, logical2, .为待检测的若干个条件值(最多 30 个) ,各条件值必须是 逻辑值(TRUE 或 FALSE) 、计算结果为逻辑值的表达式、或者是包含逻辑值的单元格 引用。如果引用的参数包含文字或空单元格,则忽略其值;如果指定的单元格区域 内包含非逻辑值,则返回错误值#VALUE。 例如:AND(
23、TRUE,72) 为 TRUE;AND(9-5=4,58)为 FALSE。(2) OR 函数 格式:OR(logical1,logical2, ,logical30)relationship, established equivalent relationship 14, and subject: application problem (4)-scores and percentage application problem review content overview answers scores, and percentage application problem of key is
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机 Excel 函数 整编 汇总
限制150内