我需要一个Excel公式来解决此问题(我宁愿不使用VBA):
我有2个相邻的列(分别称为A和B),A列是T / F,而B列是非负浮点数,我想知道第一个单元格,其中A = T和B = 0
A B
-----
T 10
T 11
F 0
T 13
T 0 [5] (stop here because this is the first row where A=T and B=0
A B
-----
T 10
T 11
T 0 [3] (stop here because this is the first row where A=T and B=0
我认为答案将涉及数组公式,它将涉及将T / F转换为二进制数组(0,1)以及浮点数组,然后将它们进行AND运算以找到第一个1。这会更容易在VBA中,但我希望有一个基于Excel公式的方法
第一行,其中A = T,B = 0
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句