[英]Arrayformula count how many cells in a row are less than cells in another row only if both are nonzero/nonblank
I found this formula, =arrayformula(sumproduct($C$24:$C$31<B$24:B$31))
but I need it to ignore if one or both cells are 0 or blank. 我找到了这个公式=arrayformula(sumproduct($C$24:$C$31<B$24:B$31))
但我需要它忽略一个或两个单元格为0还是空白。
I've tried and, and countifs
, but I can't seem to figure it out. 我已经尝试过and和countifs
,但是我似乎无法弄清楚。
=arrayformula(sumproduct($C$24:$C$31<B$24:B$31))
I want a number 0-8 for counting how many cells in the particular row are less than the compared row, but (ie 0<25) needs to be ignored. 我想要一个0-8的数字来计算特定行中比比较行少的单元格,但是(即0 <25)需要忽略。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.