#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Count cells

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 638
Default Count cells

On May 28, 1:21*pm, Question Boy
wrote:
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


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.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 421
Default Count cells

Hi Q,

Try something like:

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



---
Regards.
Norman
"Question Boy" wrote in message
...
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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Count cells

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

--
---
HTH

Bob


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



"Question Boy" wrote in message
...
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



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Count cells

Should have been

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

--
---
HTH

Bob


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



"Question Boy" wrote in message
...
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





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Count cells

Thank you all so very much!




"Bob Phillips" wrote:

Should have been

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

--
---
HTH

Bob


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



"Question Boy" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to count#cells w/= value in other column and not count blank c aganoe Excel Worksheet Functions 4 April 9th 10 11:36 AM
count cells, then reset count when value in another cell changes Mitchell_Collen via OfficeKB.com Excel Worksheet Functions 4 February 20th 09 04:22 AM
Count Empty Cells in Range After Cells with Data David Excel Programming 16 September 17th 06 03:03 PM
HOW TO FORMATE CELLS TO COUNT CELLS WITH A FILL COLOR? Moore New Users to Excel 1 June 15th 05 06:41 PM
Using the COUNT funciton to count cells with values wjsubs[_5_] Excel Programming 4 July 9th 04 05:00 PM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"