Thread: #VALUE! Problem
View Single Post
  #6   Report Post  
Domenic
 
Posts: n/a
Default


Does Column A contain 0 (zero) values?

andyp161 Wrote:
This works great - thanks.

=SUM(IF(Log!$A$2:$A$200<"",(MONTH(Log!$A$2:$A$200 )=MONTH(Stats!B1))*(Log!$D$2:$D$200=Stats!$A3)))

However, I am trying to extend the formula so that if the conditions
are met, the formula goes on to count the values in a final column. I
have tried the following:

=SUM(IF(Log!$A$2:$A$200<"",(MONTH(Log!$A$2:$A$200 )=MONTH(Stats!B1))*(Log!$D$2:$D$200=Stats!$A3)*Log !$G$2:$G$200))

However, the above does not work; rather than counting the values in
Log!$G$2:$G$200 if the previous conditions are met, it counts all
values??

Many thanks

Andy



--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=383154