EXCEL的A中有1000个五位数,每个五位数之间用空格隔开,B中有600个五位数,想要在C中找出剩余400个五位数

2022-08-09 教育 67阅读

2007及以上版本支持:=TEXT(SUM(SMALL(IFERROR(--IF(COUNTIF(B1,"*"&MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4)&"*"),"",MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4)),""),ROW(INDIRECT("1:"&COUNT(--IF(COUNTIF(B1,"*"&MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4)&"*"),"",MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4))))))*10000^ROW(INDIRECT("1:"&COUNT(--IF(COUNTIF(B1,"*"&MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4)&"*"),"",MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4)))))/10000),REPT(" 0000",COUNT(--IF(COUNTIF(B1,"*"&MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4)&"*"),"",MID(A1&" ",ROW(INDIRECT("1:"&(LEN(A1&" "))/5))*5-4,4)))))

ctrl+shift+回车

声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com