EXCEL多条件查询方法
时间:2023-07-07 17:48:53
方法步骤:
以下图为一个超市的销售数据
:
方法一、INDEX、SUMPRODUCT和ROW函数的组合
在单元格F4中输入如下公式
=INDEX(B2:B15,SUMPRODUCT((A2:A15=F3)*(D2:D15=F5)*ROW(C2:C15)),0)
即用SUMPRODUCT函数求出满足条件所对应的行数,再用INDEX函数查出满足条件对应的值。结果如下:
方法二、LOOKUP函数的应用
在单元格F4中输入如下函数式:
=LOOKUP(2,1/(A2:A15=F3)/(C2:C15=F5),(B2:B15))
即可得到同方法二相同效果。如果没有符合条件的值,则会返回#N/A错误。
标签:EXCEL多条件查询方法
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
win7电脑主题变成黑色怎么调回来?
2022-06-07 07:57:20
![](https://img.aspxhome.com/file/2023/30/a267208_0s.jpg)
epic登录不上去怎么办_epic登录不上解决方法
2022-04-08 22:12:44
![](https://img.aspxhome.com/file/2023/2/a287023_0s.jpg)
Windows10系统Steam份额逼近80%
2022-07-27 16:56:17
![](https://img.aspxhome.com/file/2023/4/a303786_0s.jpg)
PowerPoint如何插入公式
2022-05-25 06:30:44
![](https://img.aspxhome.com/file/2023/10/a345266_0s.jpg)
word预览时看不见,打印时出现多余的图表
2022-11-23 05:45:19
Excel中怎样自动计算多个单元格的行数
2022-12-22 12:19:25
![](https://img.aspxhome.com/file/2023/1/a140771_0s.jpg)
Win7系统Internet Explorer已停止工作的解决方法
2022-09-29 17:38:31
![](https://img.aspxhome.com/file/2023/4/a303448_0s.jpg)
InDesign 教程「22」,如何旋转、翻转、锁定和隐藏内容?
2023-10-30 14:21:59
![](https://img.aspxhome.com/file/2023/1/a203461_0s.jpeg)
苹果这样频烦更新系统真的好吗?要不要跟随苹果升级?
2023-04-10 17:54:37
![](https://img.aspxhome.com/file/2023/8/a196608_0s.jpg)
PPT英文大小写切换实现技巧
2023-07-26 21:59:24
机械迷城 for mac全程攻略,助你通关!
2022-08-19 13:27:33
![](https://img.aspxhome.com/file/2023/2/a213982_0s.jpeg)
Win10总是蓝屏和不停重启怎么修复?
2023-07-25 09:36:25
![](https://img.aspxhome.com/file/2023/26/a226667_0s.jpg)
win8.1系统开机提示ntldr is missing怎么解决?
2022-11-17 09:03:48
![](https://img.aspxhome.com/file/2023/3/a293481_0s.jpg)
如何使用visio画图
2023-11-15 21:34:57
![](https://img.aspxhome.com/file/2023/2/a284152_0s.png)
Win10系统如何将显示模糊的DPI屏幕调整清晰?
2023-01-10 03:59:16
![](https://img.aspxhome.com/file/2023/2/a285012_0s.jpg)
在百度中怎么一键报警?百度中一键报警的方法
2023-07-03 21:27:49
![](https://img.aspxhome.com/file/2023/8/a335339_0s.png)
Windows7系统摄头黑屏无法启动的解决方法
2023-08-11 20:08:46
![](https://img.aspxhome.com/file/2023/27/a233572_0s.jpg)
Win7怎样防止别人偷窥你的电脑?
2023-01-16 04:55:08
![](https://img.aspxhome.com/file/2023/27/a231920_0s.jpg)
wps表格内容如何打印在一张纸上
2023-07-31 17:22:47
![](https://img.aspxhome.com/file/2023/9/53579_0s.jpg)
win8架设无线网络图文教程
2023-10-27 11:19:30
![](https://img.aspxhome.com/file/2023/29/a258377_0s.jpg)