怎样将excel同一单元格中的数字和文字分开。
怎样将excel同一单元格中的数字和文字分开。例如:在A1单元格中输入临潼-西安31,西安-温州1731,温州-福鼎112使BI=31C1=1731D1=112求解答。实...
怎样将excel同一单元格中的数字和文字分开。例如:在A1单元格中输入临潼-西安31,西安-温州1731,温州-福鼎112 使BI=31 C1=1731 D1=112 求解答。实现下图效果。
展开
1个回答
展开全部
将公式
=RIGHT(LEFT(A1,FIND(",",A1)-1),2*LEN(LEFT(A1,FIND(",",A1)-1))-LENB(LEFT(A1,FIND(",",A1)-1))-1)
粘贴至B1单元格,如图:
将公式
=RIGHT(LEFT(REPLACE(A1,1,FIND(",",A1),),FIND(",",REPLACE(A1,1,FIND(",",A1),))-1),2*LEN(LEFT(REPLACE(A1,1,FIND(",",A1),),FIND(",",REPLACE(A1,1,FIND(",",A1),))-1))-LENB(LEFT(REPLACE(A1,1,FIND(",",A1),),FIND(",",REPLACE(A1,1,FIND(",",A1),))-1))-1)
粘贴至C1单元格,如图:
将公式
=RIGHT(A1,2*LEN(A1)-LENB(A1)-LEN(B1&C1)-3)
粘贴至D1单元格,如图:
=RIGHT(LEFT(A1,FIND(",",A1)-1),2*LEN(LEFT(A1,FIND(",",A1)-1))-LENB(LEFT(A1,FIND(",",A1)-1))-1)
粘贴至B1单元格,如图:
将公式
=RIGHT(LEFT(REPLACE(A1,1,FIND(",",A1),),FIND(",",REPLACE(A1,1,FIND(",",A1),))-1),2*LEN(LEFT(REPLACE(A1,1,FIND(",",A1),),FIND(",",REPLACE(A1,1,FIND(",",A1),))-1))-LENB(LEFT(REPLACE(A1,1,FIND(",",A1),),FIND(",",REPLACE(A1,1,FIND(",",A1),))-1))-1)
粘贴至C1单元格,如图:
将公式
=RIGHT(A1,2*LEN(A1)-LENB(A1)-LEN(B1&C1)-3)
粘贴至D1单元格,如图:
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |