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 / November 2006

Tip: Looking for answers? Try searching our database.

Excel - COUNTIF Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jsk - 07 Nov 2006 00:40 GMT
Could someone help me?  I am inexperienced Excel user.  I am trying to create
a function that will look at two columns of data and tell me how many
occurances there are when column A equals a certain value when column B
equals a certain value.  I.E., column A = dog and column B = brown.
Thank you.
RagDyer - 07 Nov 2006 01:12 GMT
Try this:

=SUMPRODUCT((A1:A50="dog")*(B1:B50="brown"))

It might be more advantageous to assign cells to contain your criteria, so
that they can be more easily changed without having to revise the formula
itself.

Column A criteria in C1,
And Column B criteria in C2:

=SUMPRODUCT((A1:A50=C1)*(B1:B50=C2))

Signature

HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> Could someone help me?  I am inexperienced Excel user.  I am trying to
> create
> a function that will look at two columns of data and tell me how many
> occurances there are when column A equals a certain value when column B
> equals a certain value.  I.E., column A = dog and column B = brown.
> Thank you.
jsk - 07 Nov 2006 01:26 GMT
Thank you very much RagDyer.  That works.
jsk

> Try this:
>
[quoted text clipped - 15 lines]
> > equals a certain value.  I.E., column A = dog and column B = brown.
> > Thank you.

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.