由于数据不好识别,请先确认这个问题,空格都在斜杆/ 后面,是吗??
如果是,可以写公式!
j2参考公式:
=IF(I2="","",IF(ISNUMBER(I2),I2,MID(I2,1,FIND("/",I2)-1)))
k2公式:
=IF(I2="","",IF(ISNUMBER(I2),I2,SUBSTITUTE(MID(I2,FIND("/",I2),99)," ","")))
J2:=IF(I2="","",-LOOKUP(1,-LEFT(I2,ROW($1:$10))))
K2:=IF(J2="","",-LOOKUP(1,-RIGHT(I2,ROW($1:$10))))
向下填充。
J2=IF(I2="","",--LEFT(I2,FIND("/",I2)-1))
下拉公式
K2=IF(I2="","",--RIGHT(I2,LEN(I2)-FIND("/",I2)-1))
下拉公式