#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Count

I want to count the number of cells in a column with 1-5 in them. The other
cells in this same column are "false" and I don't want those to be counted.
I've tried =count(p1:p20) and =countif(p1:p20,"false"), but neither of these
works.

Please help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Count

=COUNTIF(P1:P20,"1") etc.

Dave
--
Brevity is the soul of wit.


"Daren" wrote:

I want to count the number of cells in a column with 1-5 in them. The other
cells in this same column are "false" and I don't want those to be counted.
I've tried =count(p1:p20) and =countif(p1:p20,"false"), but neither of these
works.

Please help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Count

In what sense does =COUNT(P1:P200) not work?
This function counts the number of cells with numeric values
Did you really want SUM not COUNT?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Daren" wrote in message
...
I want to count the number of cells in a column with 1-5 in them. The
other
cells in this same column are "false" and I don't want those to be
counted.
I've tried =count(p1:p20) and =countif(p1:p20,"false"), but neither of
these
works.

Please help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Count

The "1-5" signifies a range, i.e. 1- 5 minutes. It's not being picked up
either by SUM or COUNT, possibly b/c it has logical IF statements in the
cells. Not sure if that makes an impact though.

"Bernard Liengme" wrote:

In what sense does =COUNT(P1:P200) not work?
This function counts the number of cells with numeric values
Did you really want SUM not COUNT?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Daren" wrote in message
...
I want to count the number of cells in a column with 1-5 in them. The
other
cells in this same column are "false" and I don't want those to be
counted.
I've tried =count(p1:p20) and =countif(p1:p20,"false"), but neither of
these
works.

Please help.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Count

Thanks, Dave, that worked!!

"Dave F" wrote:

=COUNTIF(P1:P20,"1") etc.

Dave
--
Brevity is the soul of wit.


"Daren" wrote:

I want to count the number of cells in a column with 1-5 in them. The other
cells in this same column are "false" and I don't want those to be counted.
I've tried =count(p1:p20) and =countif(p1:p20,"false"), but neither of these
works.

Please help.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Count

no problem.
--
Brevity is the soul of wit.


"Daren" wrote:

Thanks, Dave, that worked!!

"Dave F" wrote:

=COUNTIF(P1:P20,"1") etc.

Dave
--
Brevity is the soul of wit.


"Daren" wrote:

I want to count the number of cells in a column with 1-5 in them. The other
cells in this same column are "false" and I don't want those to be counted.
I've tried =count(p1:p20) and =countif(p1:p20,"false"), but neither of these
works.

Please help.

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
Need formula to count spinoffs jamescarvin Excel Worksheet Functions 1 July 14th 06 04:07 PM
Subtotals by count PineRest Excel Discussion (Misc queries) 1 May 10th 06 05:09 PM
Count consecutive dates only [email protected] Excel Discussion (Misc queries) 0 May 4th 06 03:58 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


All times are GMT +1. The time now is 07:59 PM.

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

About Us

"It's about Microsoft Excel"