今天是:
设百科问答网为首页|收藏百科问答网|网站地图
百科问答网 - 帮您解决问题,分享成功经验
如何把一个Excel单元格里的文字和数字分离开来

其实是单位里的电话表来的,做表的人把名字和号码输入到一个单元格里去了,现在想把它们导入到手机里去,想分离开来,手工做又比较烦(主要是数量大,大约是700*3),有什么办法把A列里的内容分别按文字和数字拆开来放到B、C两列中去吗?


答案或建议:


比如A1为"张三13812345678",
B1的公式可以用
{=LEFT(A1,MIN(IF(ISERROR(FIND({"1","2","3","4","5","6","7","8","9","0"},A1)),100,FIND({"1","2","3","4","5","6","7","8","9","0"},A1)))-1)}
C1的公式可以用
{=MID(A1,MIN(IF(ISERROR(FIND({"1","2","3","4","5","6","7","8","9","0"},A1)),100,FIND({"1","2","3","4","5","6","7","8","9","0"},A1))),100)}

花括号为数组公式, 用CTRL+SHIFT+ENTER输入.
转载链接:http://www.baikewenda.com/h/1101/a37001.html
推荐内容

敬请注意:百科问答网内容来源于网络或民间经验收集,仅供参考。其中有关健康疾病方面的内容请务必咨询专业医生或及时到医院治疗。
关于我们 - 广告服务 - 联系我们
百科问答网 Copyright ©2005 - 2011 www.baikewenda.com,All Rights Reserved
辽ICP备10007180号