Stapes,
=SUMPRODUCT((G2:G540=1)*(J2:J540="Pass"))

Signature
Earl Kiosterud
www.smokeylake.com
Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
> Hi
>
[quoted text clipped - 10 lines]
>
> Stapes