EXCEL 一个格子里的某个特定字符后的某些字符COPY出来
答案:6 悬赏:40 手机版
解决时间 2021-01-27 12:31
- 提问者网友:骑士
- 2021-01-26 18:59
我想将EXCEL里,一个单元格里的内容,如果A1内容为Bust (inch): 35, Waist (inch): 30.5, Hips (inch): 36, Hollow to Floor (inch): 50,想当里面的“Bust (inch): ”后面的35(也有可能是35.25之类但以逗号“,”结尾)输入到B1中,然后将“Waist (inch): ”后面的30.5,输入到B2,还有36及50输入到B3和B4里。非常感谢也非常急谢谢
最佳答案
- 五星知识达人网友:旧脸谱
- 2021-01-26 19:09
B1单元格输入公式后,下拉填充即可,公式虽然长了一点,但是通用的.不需要写四个不同的公式
=--MId($A$1,FIND("!",SUBSTITUTE($A$1,":","!",ROW(A1)))+1,FIND("!",SUBSTITUTE($A$1,",","!",ROW(A1)))-FIND("!",SUBSTITUTE($A$1,":","!",ROW(A1)))-1)
=--MId($A$1,FIND("!",SUBSTITUTE($A$1,":","!",ROW(A1)))+1,FIND("!",SUBSTITUTE($A$1,",","!",ROW(A1)))-FIND("!",SUBSTITUTE($A$1,":","!",ROW(A1)))-1)
全部回答
- 1楼网友:鱼芗
- 2021-01-26 23:07
B1=right(a1,len(a1)-find(",",a1))
B2=left(a1,find(",",a1)-1)
然后横行复制公式
B2 C2 D2..... 数值就是你要的?
- 2楼网友:逐風
- 2021-01-26 22:27
其实你这种单元格基本就等于一个没处理好的行,如果你这数据比较整齐的话,应该把它转化成文本文件,然后再导入,重新设定一下单元格范围,修改一下行的定义,这是最快最方便的办法,但如果你每个个单元格里的内容都不一样,而且没有规律,那只能手动处理。
- 3楼网友:北城痞子
- 2021-01-26 21:02
=MId($A1,FIND("@",SUBSTITUTE($A1,":","@",COLUMN(A:A)))+1,FIND("@",SUBSTITUTE($A1,",","@",COLUMN(A1)))-FIND("@",SUBSTITUTE($A1,":","@",COLUMN(A1)))-1)
向左填充即可
- 4楼网友:詩光轨車
- 2021-01-26 20:50
B1输入:
=LEFt(A1,FIND(",",A1)-1)
B2输入:
=LEFt(SUBSTITUTE(A1,B1&",",""),FIND(",",SUBSTITUTE(A1,B1&",",""))-1)
B3输入:
=LEFt(SUBSTITUTE(A1,B1&","&B2&",",""),FIND(",",SUBSTITUTE(A1,B1&","&B2&",",""))-1)
B4输入:
=SUBSTITUTE(A1,B1&","&B2&","&B3&",","")
- 5楼网友:蓝房子
- 2021-01-26 19:21
你好!
=MId($A1,FIND("@",SUBSTITUTE($A1,":","@",COLUMN(A:A)))+1,FIND("@",SUBSTITUTE($A1,",","@",COLUMN(A1)))-FIND("@",SUBSTITUTE($A1,":","@",COLUMN(A1)))-1)
向左填充即可
打字不易,采纳哦!
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯