You can't do a "one to one" column comparison with COUNTIFS
, try SUMPRODUCT
like this
=SUMPRODUCT(('CDT DWGS-2014'!F:F=2014)*('CDT DWGS-2014'!S:S<>"")*('CDT DWGS-2014'!Q:Q>'CDT DWGS-2014'!S:S))
....but I recommend you use specific ranges rather than whole columns otherwise that will be slow