谢谢quanyuchan ,因为是给别人提供名单所有无法让他们自己去看,但还是十分感谢。
其实在发帖前我用了一个公式:IF(E$27=F2,B$27,"")&IF(E$27=F2," ","")&IF(E$28=F2,B$28,"")&IF(E$28=F2," ","")&IF(E$29=F2,B$29,"")&IF(E$29=F2," ","")&IF(E$30=F2,B$30,"")&IF(E$30=F2," ","")&IF(E$31=F2,B$31,"")&IF(E$31=F2," ","")&IF(E$32=F2,B$32,"")&IF(E$32=F2," ","")&IF(E$33=F2,B$33,"")&IF(E$33=F2," ","")&IF(E$34=F2,B$34,"")&IF(E$34=F2," ","")&IF(E$35=F2,B$35,"")&IF(E$35=F2," ","")&IF(E$36=F2,B$36,"")&IF(E$36=F2," ","")&IF(E$37=F2,B$37,"")&IF(E$37=F2," ","")&IF(E$38=F2,B$38,"")&IF(E$38=F2," ","")&IF(E$39=F2,B$39,"")&IF(E$39=F2," ","")&IF(E$40=F2,B$40,"")&IF(E$40=F2," ","")&IF(E$41=F2,B$41,"")&IF(E$41=F2," ","")&IF(E$42=F2,B$42,"")&IF(E$42=F2," ","")&IF(E$43=F2,B$43,"")&IF(E$43=F2," ","")&IF(E$44=F2,B$44,"")&IF(E$44=F2," ","")&IF(E$45=F2,B$45,"")&IF(E$45=F2," ","")&IF(E$46=F2,B$46,"")&IF(E$46=F2," ","")&IF(E$47=F2,B$47,"")&IF(E$47=F2," ","")&IF(E$48=F2,B$48,"")&IF(E$48=F2," ","")&IF(E$49=F2,B$49,"")&IF(E$49=F2," ","")&IF(E$50=F2,B$50,"")&IF(E$50=F2," ","")&IF(E$51=F2,B$51,"")&IF(E$51=F2," ","")
不过由于if公式的长度受限制,每次用只能是25个,但如果把这个公式反复用20回就能解决500个人员的数字,由于用到这个表的二级单位的人员一般不超过500人,所以也能勉强用,但毕竟麻烦。
还是请高手请教。 |