why more rows in output........long story too long to explain..........it suffices to say that the output worksheet comes from another file and i have to create extra cols of data for this file along specified guidelines...........
what am i calculating:
I am calculating two things (see enclosed code in file):
First:
calculating value and putting into array:
countif(Subj in out_sht is also in Query_sht, AND, DS value in Query_sht is less than or equal to DS value in out_sht, AND , Status col in Query_sht equals "Open")
+
countif(Subj in out_sht is also in Query_sht, AND, DS value in Query_sht equals "All", AND , Status col in Query_sht equals "Open")
Second:
output_answeredqueries_array(L1, 1) = Application.WorksheetFunction.CountIfs( _
query_subj_range, output_subj_array(L1, 1), _
query_segID_range, "<=" & output_datasegment_array(L1, 1), _
query_qrystatus_range, "Answered") + _
Application.WorksheetFunction.CountIfs( _
query_subj_range, output_subj_array(L1, 1), _
query_segID_range, "All", _
query_qrystatus_range, "Answered")
calculating value and putting into array:
countif(Subj in out_sht is also in Query_sht, AND, DS value in Query_sht is less than or equal to DS value in out_sht, AND , Status col in Query_sht equals "Answered")
+
countif(Subj in out_sht is also in Query_sht, AND, DS value in Query_sht equals "All", AND , Status col in Query_sht equals "Answered")
Bookmarks