Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count cells with positive numbers

In a row of 20 cells from A1:T1, how can I count the number of cells that
are greater than 0?
Thanks for your help.

Jamie


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Count cells with positive numbers

=COUNTIF(A1:T1,"0")
--
Gary's Student


"Jamie" wrote:

In a row of 20 cells from A1:T1, how can I count the number of cells that
are greater than 0?
Thanks for your help.

Jamie



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Count cells with positive numbers

Try =COUNTIF(A1:T1,"0")

HTH
Regards,
Howard

"Jamie" wrote in message
...
In a row of 20 cells from A1:T1, how can I count the number of cells that
are greater than 0?
Thanks for your help.

Jamie



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count cells with positive numbers

My thanks to Gary"s Student and L. Howard Kittle.
One question though, by putting the quotation marks around 0, doesn't
that change it into a text? I thought Excel can understand numeric argument.

"Jamie" wrote in message
...
In a row of 20 cells from A1:T1, how can I count the number of cells that
are greater than 0?
Thanks for your help.

Jamie



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Count cells with positive numbers

Hi Jamie,

COUNTIF is a bit bountiful with the " "'s and without. I keep a list of
about 20 different formula's of COUNTIF to keep me straight.

Some examples using Data, a named range, as the Range.

=Countif(Data,12) the number of cells containing the value 12
=Countif(Data,A1) the number of cells equal to the contents of A1.
=Countif(Data,TODAY()) the number of cells containing current date
=Countif(Data,TRUE) the number of cells containing logical true.
=Countif(Data,"*") the number of cells containing text.
=Countif(Data,"???") the number of cells containing exactly 3 characters.

HTH
Regards,
Howard

"Jamie" wrote in message
...
My thanks to Gary"s Student and L. Howard Kittle.
One question though, by putting the quotation marks around 0, doesn't
that change it into a text? I thought Excel can understand numeric
argument.

"Jamie" wrote in message
...
In a row of 20 cells from A1:T1, how can I count the number of cells that
are greater than 0?
Thanks for your help.

Jamie







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count cells with positive numbers

Thanks again. Those are worth knowing.

"L. Howard Kittle" wrote in message
. ..
Hi Jamie,

COUNTIF is a bit bountiful with the " "'s and without. I keep a list of
about 20 different formula's of COUNTIF to keep me straight.

Some examples using Data, a named range, as the Range.

=Countif(Data,12) the number of cells containing the value 12
=Countif(Data,A1) the number of cells equal to the contents of A1.
=Countif(Data,TODAY()) the number of cells containing current date
=Countif(Data,TRUE) the number of cells containing logical true.
=Countif(Data,"*") the number of cells containing text.
=Countif(Data,"???") the number of cells containing exactly 3 characters.

HTH
Regards,
Howard

"Jamie" wrote in message
...
My thanks to Gary"s Student and L. Howard Kittle.
One question though, by putting the quotation marks around 0, doesn't
that change it into a text? I thought Excel can understand numeric
argument.

"Jamie" wrote in message
...
In a row of 20 cells from A1:T1, how can I count the number of cells
that are greater than 0?
Thanks for your help.

Jamie







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 alter data on HTML webpage into Excell cells as numbers? roameri New Users to Excel 6 July 31st 05 11:42 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN carricka Excel Worksheet Functions 1 May 6th 05 04:50 PM
Can I count how many grey-filled cells are in a row ? AnthonyG Excel Worksheet Functions 1 February 4th 05 10:08 AM
How do I create formula to count numbers in a range of cells? EmilyJ Excel Worksheet Functions 1 December 8th 04 05:24 AM


All times are GMT +1. The time now is 10:54 AM.

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"