已知EXCEL中A1单元格内容完全包含在B1中,请问如何在C1中显示A1比B1多出来的内容?

2024-12-04 05:39:41
推荐回答(2个)
回答1:

=SUBSTITUTE(A4,B4,"")

回答2:

C1: =IFERROR(LEFT(A1,FIND(B1,A1)-1),"")&IFERROR(RIGHT(A1,LEN(A1)-LEN(B1)-FIND(B1,A1)),"")