Thread: vba for countif
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Shawn Shawn is offline
external usenet poster
 
Posts: 271
Default vba for countif

I have a table of data in range A1:F10. In cell H1 I have the following
array formula: =SUM((A2:A10=J1)*(B2:B10=K1)*(C2:C10=L1)*(D2:F10=M 1))

I don't want VBA that will put this formula into H1; rather, I want a VBA
that will make the Value of H1 equal to the result of a like VBA formula.



--
Thanks
Shawn