1、清除换行符号

2、添加特殊符号&并清除换行符号
7日&15日&30日&60日

3、判断单元格最后一个字符是不是数字,不是就删掉
=IF(ISNUMBER(--RIGHT(B2,1)),B2,SUBSTITUTE(B2,RIGHT(B2,1),""))
ISNUMBER(--RIGHT(B2,1))判断最右边的一个数是否为数值,如果是,返回原数据,不是则通过SUBSTITUTE(B2,RIGHT(B2,1),"")来替换掉RIGHT(B2,1)提取的右边一个字符,即把字母替换掉。

上后面的写法有点问题,第一行应该得到asdas
=IF(ISERROR(MID(B2,LEN(B2),1)*1),LEFT(B2,LEN(B2)-1),B2)

4、单元格删除最后一个字符
=LEFT(B2,LEN(B2)-1)

=SUBSTITUTE(B2,RIGHT(B2,1),"")

5、单元格最后一个字符为特殊字符&就删除
=IF(RIGHT(B2,1)="&",LEFT(B2,LEN(B2)-1),B2)

6、判断最后一个字符是不是数字,是就返回true,否则就是false
=IF(ISNUMBER(--RIGHT(B2,1)),"true","false")

7、按字符拆分并添加&
找到数据,点击分列




