我写了一个公式
=COUNTIFS(Excel_Export_IT_infrastructure!CF:CF,"<="&O4,Excel_Export_IT_infrastructure!CF:CF,">="&TODAY(), Excel_Export_IT_infrastructure!CM:CM,"<>Orphan",Excel_Export_IT_infrastructure!CG:CG,"<>",Excel_Export_IT_infrastructure!BC:BC,"=B")
现在问题是Excel_Export_IT_infrastructure!CG:CG,"<>"
实际上并没有忽略空格,因为单元格CG
隐藏了公式。我想它不考虑空白。
如何使Excel_Export_IT_infrastructure!CG:CG,"<>"
过滤空白。 CG柱可能有细胞细胞但是空的吗?
答案 0 :(得分:2)
试试这个公式:
=SUMPRODUCT(
(Excel_Export_IT_infrastructure!$CF:$CF<=$O4)*1,
(Excel_Export_IT_infrastructure!$CF:$CF>=TODAY())*1,
(Excel_Export_IT_infrastructure!$CM:$CM<>"Orphan")*1,
(Excel_Export_IT_infrastructure!$CG:$CG<>"")*1,
(Excel_Export_IT_infrastructure!$BC:$BC="B")*1)