我在Excel A1
栏中有一张Excel表格,可能有" IP5521",或" IP5531",或" IP5621",或& #34; SIP",我想如果我看到" IPXXXX",我放入B1
" IPT",如果我看到" SIP" ;,我把" SIP"在B1
。
下面的功能有效但我需要5522的外卡,因为这可能会因手机而改变
=IF(J4="IP5522","IPT",IF(J4="SIP","SIP",""))
答案 0 :(得分:0)
=IF(LEFT(J4,2)="IP","IPT",IF(J4="SIP",J4,""))