2016-11-21 67 views
0

我寫了一個公式Excel中不讀空fomulate細胞爲空白

=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專欄可能有foumalte細胞,但是空的?

回答

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) 
+0

完美的兄弟!你解決了我的問題。 – user41048