Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2007

Tip: Looking for answers? Try searching our database.

How to count rows with values in two columns

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stapes - 26 Jul 2007 14:13 GMT
Hi

I want to count the number of rows with Module (Column G) =1 and
Result (Column J) = "Pass".
I tried this:

=COUNTIF('auto test all'!G2:G540,"=1")

which counts the number of rows in Column G = 1. I need them to have
Coulmn J = "Pass" too.

Is there any way I can do this in an excel formula?

Stapes
Earl Kiosterud - 26 Jul 2007 14:23 GMT
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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.