发布网友 发布时间:2022-04-22 19:40
共4个回答
热心网友 时间:2023-04-29 06:59
亲,您的意思是第一个“-”和第二个“-”之间的字符,以及第三个“-”右边的所有字符?
第一个“-”和第二个“-”之间的字符,在B1输入公式:
=MID(A1,FIND("☆",SUBSTITUTE(A1,"-","☆",1))+1,FIND("☆",SUBSTITUTE(A1,"-","☆",2))-FIND("☆",SUBSTITUTE(A1,"-","☆",1))-1)
下拉
第三个“-”右边的所有字符,在C1输入公式:
=RIGHT(A1,LEN(A1)-FIND("☆",SUBSTITUTE(A1,"-","☆",3)))
下拉
热心网友 时间:2023-04-29 06:59
=RIGHT(RIGHT(RIGHT(A1,LEN(A1)-FIND("-",A1)),LEN(RIGHT(A1,LEN(A1)-FIND("-",A1)))-FIND("-",RIGHT(A1,LEN(A1)-FIND("-",A1)))),LEN(RIGHT(RIGHT(A1,LEN(A1)-FIND("-",A1)),LEN(RIGHT(A1,LEN(A1)-FIND("-",A1)))-FIND("-",RIGHT(A1,LEN(A1)-FIND("-",A1)))))-FIND("-",RIGHT(RIGHT(A1,LEN(A1)-FIND("-",A1)),LEN(RIGHT(A1,LEN(A1)-FIND("-",A1)))-FIND("-",RIGHT(A1,LEN(A1)-FIND("-",A1))))))
如下图,在B1输入以上工式,向下拉即可!
热心网友 时间:2023-04-29 07:00
=RIGHT(E1,LEN(E1)-FIND("-",E1,FIND("-",E1,FIND("-",E1)+1)+1))热心网友 时间:2023-04-29 07:00
=--right(a1,len(a1)-find("$",substitute(a1,"-","$",2)))