COUNTIFS BETWEEN WORKSHEETS HELP

  • Thread starter JodySmithPharmD
  • Start date
J

JodySmithPharmD

How do you specify in a formula to count all cells in one column if values in
another column match a value in a particular cell and sum the totals across
worksheets. I have tried this formula but something is amiss at the last
step. I wanted to only count a value if a date in column M matched the date
in cell B1.

=SUMPRODUCT(COUNTIFS(INDIRECT("'"&A22:A43&"'!n3:n61"),">0",INDIRECT("'"&A22:A43&"'!m3:m61"),">2/28/10",INDIRECT("'"&A22:A43&"'!m3:m61"),"<4/1/10",INDIRECT("'"&A22:A43&"'!M3:M61"),INDIRECT("'"&A22:A43&"'!B1")))
 

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

Top