=MID(LEFT(A1,LEN(A1)-1),MIN(FIND({0,1,2,3,4,5,6,7,8,9},LEFT(A1,LEN(A1)-1)&"0123456789")),LEN(LEFT(A1,LEN(A1)-1)))
回复 paulf101:你原来没说有这种情况啊,稍改一下就行了,思路是一样的
=LEFT(MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),LEN(A1)),MAX(LEN(MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),LEN(A1)))-1,6))