所以我想用某些值填充某些单元格。我想使用该IF
函数。我有以下数据:
4271423/421424/4237168/4246332=D917/F222
4271423/421424/4237168/4253485=D917/F222/J008
4271423/421424/4237168/4246332/4224002=D917/F222/J008/F214
4271423/421424=D917
4246332=F222
我做了这个功能:
=如果(F:F =“4271423/421424/4237168/4246332”,“D917 / F222”,如果(F:F =,“4271423/421424/4237168/4253485”,“D917 / F222 / J008”,如果(F:F =“4271423/421424/4237168/4246332/4224002”,“D917 / F222 / J008 / F214”,如果(F:F =“4271423/421424”,“D917”,如果(F:F =“4271423/421424/4237168 ","D917/F222",如果(F:F="4246332","F222")))))))
答案1
尝试将其放入E1
:
=IF(F1="4271423/421424/4237168/4246332","D917/F222",IF(F1="4271423/421424/4237168/4253485","D917/F222/J008",IF(F1="4271423/421424/4237168/4246332/4224002","D917/F222/J008/F214",IF(F1="4271423/421424","D917",IF(F1="4271423/421424/4237168","D917/F222",IF(TEXT(F1,"@")="4246332","F222",""))))))
然后你就可以把公式复制下来了。