您现在的位置是:首页 > 新闻 > 正文
index match函数组合(在Excel里,如何用index筛选不同工作表里的相同内容)
2022-09-13 21:38新闻
简介 文章链接,欢迎关注! https//p1.toutiaoimg.com/large/911b0003688c8104c220" web_uri="911b0003688c8104c220" img_width="616" img_height="283" fold="0" onerror="javascript//p1.toutiaoimg.com/large/911c0003452b064835a8" web_uri="911c000...
文章链接,欢迎关注!
https//p1.toutiaoimg.com/large/911b0003688c8104c220" web_uri="911b0003688c8104c220" img_width="616" img_height="283" fold="0" onerror="javascript//p1.toutiaoimg.com/large/911c0003452b064835a8" web_uri="911c0003452b064835a8" img_width="445" img_height="71" fold="0" onerror="javascriptI4,1,2)
该函数公式返回G2//p1.toutiaoimg.com/large/911f0001426b36c65bcb" web_uri="911f0001426b36c65bcb" img_width="398" img_height="263" fold="0" onerror="javascriptI4,1,1)
返回G2//p1.toutiaoimg.com/large/911f000142c15ce00034" web_uri="911f000142c15ce00034" img_width="377" img_height="246" fold="0" onerror="javascriptI2,,2)
该函数返回G2//p1.toutiaoimg.com/large/911a000a54baadef0b43" web_uri="911a000a54baadef0b43" img_width="359" img_height="248" fold="0" onerror="javascriptH4,2,),返回H2//p1.toutiaoimg.com/large/9118000bee3c619098dc" web_uri="9118000bee3c619098dc" img_width="353" img_height="258" fold="0" onerror="javascript//p1.toutiaoimg.com/large/9118000beea2321b4813" web_uri="9118000beea2321b4813" img_width="431" img_height="118" fold="0" onerror="javascriptA13,0)
返回C1010在A1A13,0)
三、题目解法:
1、使用match函数得出货号在物料代码区域中的位置,这里用来替代index的行参数
=MATCH($G2&"成品",$B$2A$13,MATCH($G2&"成品",$B$2//p1.toutiaoimg.com/large/911e00016c62af51f142" web_uri="911e00016c62af51f142" img_width="640" img_height="322" fold="0" onerror="javascript https wer7
文章链接,欢迎关注!
https//p1.toutiaoimg.com/large/911c000349a296ea9e68" web_uri="911c000349a296ea9e68" img_width="640" img_height="391" fold="0" onerror="javascript//p1.toutiaoimg.com/large/9118000bf17842034f92" web_uri="9118000bf17842034f92" img_width="640" img_height="427" fold="0" onerror="javascriptH1,">0")+1,"")
解释:
1、AND(A2>=Sheet2!$F$4,Sheet1!$A2<=Sheet2!$H$4,B2=Sheet2!$F$3)
Sheet2!$F$4是开始日期,Sheet2!$H$4是结束日期,Sheet2!$F$3是汽车品牌名称。
三个条件同时满足,则公式返回True。
2、AND(A2>=Sheet2!$F$4,Sheet1!$A2<=Sheet2!$H$4,B2=Sheet2!$F$3)*1
True*1=1,Excel的True和False也是可以参与运算的。
3、COUNTIF(H$1H1是错位计数,后面 +1,是保证第1条符合条件的数据被计数,因第1条符合条件的数据时COUNTIF(H$1A$19,MATCH(ROW(A1),Sheet1!$H$2//p1.toutiaoimg.com/large/9118000bf29ecf2f3a93" web_uri="9118000bf29ecf2f3a93" img_width="640" img_height="318" fold="0" onerror="javascript//p1.toutiaoimg.com/large/9118000bf35b6858526d" web_uri="9118000bf35b6858526d" img_width="640" img_height="260" fold="0" onerror="javascript//p1.toutiaoimg.com/large/911a000a5be2d964bbab" web_uri="911a000a5be2d964bbab" img_width="640" img_height="271" fold="0" onerror="javascript https jvkd
希望这两个文章对你认识index和match有帮助!