Excel 2019如何处理函数参数
时间:2023-06-23 07:41:03
在函数的实际使用过程中,并非总是需要把一个函数的所有参数都写完整才可以计算,可以根据需要对参数进行省略和简化,以达到缩短公式长度或者减少计算步骤的目的。本节将具体讲解如何省略、简写及简化函数参数。
函数的帮助文件会将其各个参数表达的意思和要求罗列出来,仔细看看就会发现,有很多参数的描述中包括“忽略”“省略”“默认”等词,而且会注明,如果省略该参数,则表示默认该参数代表某个值。参数的省略是指该参数连同该参数存在所需的逗号间隔都不出现在函数中。
例:判断B2是否与A2的值相等,如果是则返回TRUE,否则返回FALSE。
=if(b2=a2,true,false)
可以省略为:
=if(b2=a2,true)
部分函数中的参数为TRUE或者FALSE,比如HLOOKUP函数的参数range_lookup。当为其指定为FALSE的时候,可以用0来替代。甚至连0也不写,而只是用逗号占据参数位置。下面3个公式是等价的:
= VLOOKUP(A1,B1:C10,2,FALSE) = VLOOKUP(A1,B1:C10,2,0) = VLOOKUP(A1,B1:C10,2,)
此外,有些针对数值的逻辑判断,可利用“0=false”和“非0数值=true”的规则来简化。比如,在已知A1单元格的数据只可能是数值的前提下,可以将公式=if(A1<>0,B1/A1,"")简化为=if(A1,B1/A1,"")。
Excel 2019如何处理函数参数的下载地址:
标签:Excel处理函数参数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win10无法启动WLAN Autoconfig服务错误1747怎么办?
2023-11-27 04:43:29
![](https://img.aspxhome.com/file/2023/25/a218116_0s.png)
怎么让win10中的微软小娜只听你的话?
2023-07-25 00:02:52
![](https://img.aspxhome.com/file/2023/28/a248732_0s.jpg)
Win10系统有必要经常进行更新吗?Win10系统经常更新好吗?
2022-04-20 00:22:31
![](https://img.aspxhome.com/file/2023/26/a221481_0s.png)
Win10秋季创意者更新15223 Mobile快速预览版今日推送
2022-07-19 15:22:32
![](https://img.aspxhome.com/file/2023/29/a260537_0s.png)
怎么查看WPS2012字数统计
2022-02-03 08:47:45
![](https://img.aspxhome.com/file/2023/9/a167009_0s.jpg)
Excel如何选择单元格?10招教你快速选取单元格
2023-06-03 13:53:24
![](https://img.aspxhome.com/file/2023/7/a153487_0s.jpg)
微软面向Windows11预览频道发布最新Win11 22621.169(KB5014958)更新!
2022-08-05 17:57:22
![](https://img.aspxhome.com/file/2023/1/a272353_0s.png)
Excel数据有效性实现强制库存非负
2022-12-15 07:44:19
如何使用手机版WPS里的便签功能
2022-08-31 21:59:04
![](https://img.aspxhome.com/file/2023/1/a184661_0s.png)
Win7系统桌面文档不能删除的解决方法
2023-08-28 13:10:11
![](https://img.aspxhome.com/file/2023/3/a302431_0s.jpg)
PPT的白板工作区域使用基础纣
2022-02-10 09:54:14
![](https://img.aspxhome.com/file/2023/10/a352002_0s.jpg)
Win8.1 Update不能正常更新提示错误代码80070020的修复方法
2022-05-01 19:48:38
![](https://img.aspxhome.com/file/2023/29/a253102_0s.jpg)
如何进行Win7启动项修复?
2022-03-31 00:39:48
![](https://img.aspxhome.com/file/2023/27/a231532_0s.jpg)
word首行缩进怎么设置?
2022-09-10 21:50:03
![](https://img.aspxhome.com/file/2023/3/34793_0s.gif)
腾讯微信客服电话是多少?微信客服电话
2023-09-05 00:45:56
![](https://img.aspxhome.com/file/2023/3/a295479_0s.jpg)
鼠标右键新建只显示文件夹别的都不见怎么办
2023-06-13 15:30:27
![](https://img.aspxhome.com/file/2023/29/a256742_0s.jpg)
wps2019文档如何快速在表格中添加一列?
2023-08-16 22:30:07
![](https://img.aspxhome.com/file/2023/5/a166045_0s.jpg)
如何在Excel中判断数字奇偶性
2023-04-18 13:07:41
![](https://img.aspxhome.com/file/2023/1/37741_0s.png)
Win10系统如何使用URI
2022-09-05 13:34:53
![](https://img.aspxhome.com/file/2023/26/a226840_0s.jpg)
Win11怎么把桌面文件放在D盘?Win11桌面文件在D盘操作教程
2022-06-15 06:25:44
![](https://img.aspxhome.com/file/2023/1/a274818_0s.jpg)