help extending formula to range

  • Thread starter Thread starter pgd
  • Start date Start date
P

pgd

I am stuck with extending the formula to a range in a column. I need to
implement a "for loop" for the formula below..... Help!!!

This works:
=IF(C2="ABC",IF(D2="XYZ",COUNTIF(Q2,"done")))

I want something like:
=IF(C3:C1000="ABC",IF(D3:D1000="XYZ",COUNTIF(Q3:Q1000,"done")))

Thanks in advance for your help!
 
i think this will work

=SUM(IF(C3:C1000="ABC",IF(D3:D1000="XYZ",IF(Q3:Q1000="done",1,0))))
 
The formula result is evaluated correctly, Thanks!

However, I still have an issue - the value displayed is "0". The cell
format is "general".
 
sorry, it's an array formula. after you enter it, do control-shift-enter
instead of enter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top