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 / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Count cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Question Boy - 28 May 2008 18:21 GMT
I have 2 sheets.

Sheet 2, which has a data table and Sheet 1, which is to tabulate the data.

Sheet 2 has 2 columns, Type and Delta.

How can I count the number of entry in Sheet 2 that are of Type =1 and whose
Delta = 0?

Thank you,

QB
JW - 28 May 2008 18:29 GMT
On May 28, 1:21 pm, Question Boy
<Question...@discussions.microsoft.com> wrote:
> I have 2 sheets.
>
[quoted text clipped - 8 lines]
>
> QB

Assuming that your Type is in column A and your Delta is in column B

=SUM((A2:A9=1)*(B2:B9=0))

This is an Array formula and must be entered with Ctrl+Shift+Enter.
Norman Jones - 28 May 2008 18:34 GMT
Hi Q,

Try something like:

=SUMPRODUCT(--(Sheet2!A1:A20=1),--(Sheet2!B1:B20=0))

---
Regards.
Norman
>I have 2 sheets.
>
[quoted text clipped - 10 lines]
>
> QB
Bob Phillips - 28 May 2008 18:39 GMT
=SUMPRODUCT(--(A2:A200=1),--(B2:B200=0))

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I have 2 sheets.
>
[quoted text clipped - 10 lines]
>
> QB
Bob Phillips - 28 May 2008 18:40 GMT
Should have been

=SUMPRODUCT(--(Sheet2!A2:A200=1),--(Sheet2!B2:B200=0))

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I have 2 sheets.
>
[quoted text clipped - 10 lines]
>
> QB
Question Boy - 28 May 2008 18:47 GMT
Thank you all so very much!

> Should have been
>
[quoted text clipped - 14 lines]
> >
> > QB
 
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.