Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Helppppppppppppppppppppppppppppp
 
Posts: n/a
Default count them number of cells between values -2 and 2 including 0

I have a list of data I would like to count the number of cells that have the
following data -2, -1, 0, 1, 2.


  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default count them number of cells between values -2 and 2 including 0

=SUMPRODUCT(--(A1:A10=-2),--(A1:A10<=2)) will give total number of cells
with value between -2 to +2

For individual counts:

=COUNTIF(A1:A10,"=-2") etc

HTH

"Helppppppppppppppppppppppppppppp" wrote:

I have a list of data I would like to count the number of cells that have the
following data -2, -1, 0, 1, 2.


  #3   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default count them number of cells between values -2 and 2 including 0

Hi!

Try one of these:

=COUNTIF(A1:A10,"=-2")-COUNTIF(A1:A10,"2")

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(A1:A10=-2),--(A1:A10<=2))

Biff

"Helppppppppppppppppppppppppppppp"
osoft.com wrote in
message ...
I have a list of data I would like to count the number of cells that have
the
following data -2, -1, 0, 1, 2.




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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
How do I use countif to count values excluding blank cells Glenda Excel Worksheet Functions 4 January 30th 06 04:22 PM
how to count number of cells in a color ? Francisco Excel Discussion (Misc queries) 4 September 25th 05 01:09 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
How do I count the number of cells in a list, e.g. H6:H12, J4, J7: KTS Excel Worksheet Functions 0 July 26th 05 08:09 PM


All times are GMT +1. The time now is 05:51 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"