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 / Worksheet Functions / June 2006

Tip: Looking for answers? Try searching our database.

sumif, countif, sumproduct?????

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
m fleming - 17 Jun 2006 01:17 GMT
Hello,

I have two columns: Col C, yes, yes, no, yes, yes and Col D, yes, no, yes,
yes, Yes. I want to count on col D if it says yes and the coresonding cell
in Col C says yes. Thus I would like a formula to return a count of 3 for
this example.
nevi - 17 Jun 2006 01:30 GMT
{=SUM(IF((C1:C100="yes"),IF(D1:D100="yes",1,0)))}

You would obviously substitute the C1:C100 and D1:D100 with the rang
you need.

This is not case sensativ
JMB - 17 Jun 2006 03:11 GMT
You could leave out the IF statements (either way works, but with more
complex formulae you could have problems w/the 7 nested function limit using
IF statements).  

{=SUM((F4:F7="yes")*(G4:G7="yes"))}

or
=SUMPRODUCT(--(F4:F7="yes"), --(G4:G7="yes"))

> {=SUM(IF((C1:C100="yes"),IF(D1:D100="yes",1,0)))}
>
> You would obviously substitute the C1:C100 and D1:D100 with the range
> you need.
>
> This is not case sensative
 
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



©2009 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.