兄弟:你好!你帮我解决一个excel函数问题了,现在又碰到一个,百思不得其解,麻烦你抽空帮忙看下,感谢

2024-12-25 09:49:37
推荐回答(4个)
回答1:

=IF(mid(A1,1,2)="17","西部",if(mid(A1,1,2)="23","北部","东部" ))
要除开空格:
=IF(A1=0," ",IF(MID(A1,1,2)="17","西部",IF(MID(A1,1,2)="23","北部","东部")))
我试过了,可行.

回答2:

b1输入
=IF(OR(--LEFT(A1,2)={26,28}),"东部",IF(--LEFT(A1,2)=17,"西部","北部"))

下拉公式填充即可

回答3:

=INDEX({"西部","北部","东部","东部"},MATCH(LEFT(A1,2),{"17","23","26","28",0}))

然后下拉

回答4:

可以做个筛选分类,用if函数试试..