EXCEL取倒数第二数为X的数据出来

2024-11-17 03:26:01
推荐回答(4个)
回答1:

=MID(D1,LEN(D1)-1,1)
=LEFT(RIGHT(D1,2),1)
以上2个办法截取皆可

回答2:

=IF(left(RIGHT(D1,2),1)="0",D1,"")

回答3:

适应mid函数
if(mid(d1,2,1)="0",d1,"")

回答4:

=IF(RIGHT(INT(D1/10),1)="0",D1,"")