Pandab2002
IS-IT--Management
I have a spreadsheet that looks at a column in another spreadsheet and counts the instance of certain criteria. I use the following:
=COUNTIF('[open.xls]Service'!$K$2:$K$60, 1)
This works great. Now I want to apply the same logic usint the =SUMPRODUCT function to only count criteria in column K if there is a 1 in column L. I have exhausted my efforts to find the correct entry. I keep getting errors. I referred to faq68-4725 and tried to adjust the data, but still no luck. Any suggestions?
Here's an example of what I tried.
=SUMPRODUCT(('[open.xls]MAC Service'!$K$2:$K$200,1)*'[open.xls]MAC Service'!$L$2:$L$200,1))
=COUNTIF('[open.xls]Service'!$K$2:$K$60, 1)
This works great. Now I want to apply the same logic usint the =SUMPRODUCT function to only count criteria in column K if there is a 1 in column L. I have exhausted my efforts to find the correct entry. I keep getting errors. I referred to faq68-4725 and tried to adjust the data, but still no luck. Any suggestions?
Here's an example of what I tried.
=SUMPRODUCT(('[open.xls]MAC Service'!$K$2:$K$200,1)*'[open.xls]MAC Service'!$L$2:$L$200,1))