= arrayformula(如果($ b $ 2:$ b =“”,“”,if($ e $ 2:$ e =“”,0,1)+if($ f $ 2:$ f =“”, 0,1)+if($ g $ 2:$ g =“”,0,1)+if($ h $ 2:$ h =“”,0,1)+if($ i $ 2:$ 2:$ i =“” ,0,1))))
You can use an if to convert each column into numbers and just sum it up. Try applying the formula below to your sheet.
发布评论
评论(3)
尝试:
try:
您可以使用IF将每列转换为数字,然后将其总结。尝试将下面的公式应用于您的工作表。
= arrayformula(如果($ b $ 2:$ b =“”,“”,if($ e $ 2:$ e =“”,0,1)+if($ f $ 2:$ f =“”, 0,1)+if($ g $ 2:$ g =“”,0,1)+if($ h $ 2:$ h =“”,0,1)+if($ i $ 2:$ 2:$ i =“” ,0,1))))
You can use an if to convert each column into numbers and just sum it up. Try applying the formula below to your sheet.
=arrayformula(if($B$2:$B="","",if($E$2:$E="",0,1)+if($F$2:$F="",0,1)+if($G$2:$G="",0,1)+if($H$2:$H="",0,1)+if($I$2:$I="",0,1)))
您可以尝试以下方法:
you might try this: