所以我的公式在我的栏中看起来像这样: = IF(MID([@ [bin_id]],9,1)=“a”,MID([@ [bin_id]],9,1),“PALLET”)
我唯一的问题是我想在逻辑测试中使用几个变量。基本上我想这样说:
如果我的Mid公式等于“a,b,c,d,e,f,g”,那么请不要管它。如果它不等于那些变量,则返回文本“托盘”。
我这样做是因为我的单元格“bin_id”有bin位置,不幸的是托盘位置标记得更短,因此当我使用我的MID公式时它不会返回我想要的变量。
答案 0 :(得分:3)
替代解决方案:
=IF(OR(MID([@[bin id]],9,1)={"a","b","c","d","e","f","g"}),MID([@[bin id]],9,1),"PALLET")
答案 1 :(得分:2)
使用:
100
// 101 skipped here by sourceObservable.debounceTime(300)
102
// 103 skipped here by sourceObservable.debounceTime(300)
104
105
// 0 from interval() skipped here by merge().debounceTime(300)
106
107
0
108
0
1
2
3
OR:
=IFERROR(INDEX({"a","b","c","d","e","f","g"},MATCH(MID([@[bin_id]],9,1),{"a","b","c","d","e","f","g"},0)),"PALLET")