excel中求123456和036987中取不相同的数的函数
1个回答
展开全部
假设A1=123456 B1=036987 (A1和B1的单元格格式为文本,否则B1=036987前面的0不显示)
输入下面数组公式,按组合键 Ctrl+Shift+回车 结束
=IF(ISERR(FIND(0,A1))+ISERR(FIND(0,B1))=1,0,)&SUBSTITUTE(SUM(IF(ISERR(FIND({1,2,3,4,5,6,7,8,9},A1))+ISERR(FIND({1,2,3,4,5,6,7,8,9},B1))=1,{1,2,3,4,5,6,7,8,9},)*10^{8,7,6,5,4,3,2,1,0}),0,)
输入下面数组公式,按组合键 Ctrl+Shift+回车 结束
=IF(ISERR(FIND(0,A1))+ISERR(FIND(0,B1))=1,0,)&SUBSTITUTE(SUM(IF(ISERR(FIND({1,2,3,4,5,6,7,8,9},A1))+ISERR(FIND({1,2,3,4,5,6,7,8,9},B1))=1,{1,2,3,4,5,6,7,8,9},)*10^{8,7,6,5,4,3,2,1,0}),0,)
追问
在么 ??? 好像不 对啊 !!!!!!!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询