Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Need to count a set of numbers in a range

I have a range of numbers, I3:I52 that contain percentages.
I need to count the number of cells that are between 9% and 11%.
I have tried multiple COUNTIF statements but that doesn't seem to work.
Any help is appreciated.
--
thanks, Dave
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default Need to count a set of numbers in a range

On Sep 11, 12:08*pm, DaveC wrote:
I have a range of numbers, I3:I52 that contain percentages.
I need to count the number of cells that are between 9% and 11%.
I have tried multiple COUNTIF statements but that doesn't seem to work.
Any help is appreciated.
--
thanks, Dave


This is how to do it with Count if.
=COUNTIF(A1:A10,"<="&.11)-COUNTIF(A1:A10,"<="&.09)

Here is how to do it with Sumproduct
=SUMPRODUCT((A1:A10<=.11)*(A1:A10=.09)*(1))

Jay
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default Need to count a set of numbers in a range

On Sep 11, 12:16*pm, jlclyde wrote:
On Sep 11, 12:08*pm, DaveC wrote:

I have a range of numbers, I3:I52 that contain percentages.
I need to count the number of cells that are between 9% and 11%.
I have tried multiple COUNTIF statements but that doesn't seem to work.
Any help is appreciated.
--
thanks, Dave


This is how to do it with Count if.
=COUNTIF(I3:I52,"<="&.11)-COUNTIF(I3:I52,"<="&.09)

Here is how to do it with Sumproduct
=SUMPRODUCT((I3:I52<=.11)*(I3:I52=.09)*(1))

Jay

This is with your range.
This is how to do it with Count if.
=COUNTIF(I3:I52,"<="&.11)-COUNTIF(I3:I52,"<="&.09)

Here is how to do it with Sumproduct
=SUMPRODUCT((I3:I52<=.11)*(I3:I52=.09)*(1))

Jay
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Need to count a set of numbers in a range

=SUMPRODUCT((I3:I52=0.09)*(I3:I52<=0.11))
so for data like:

19.00%
1.00%
18.00%
6.00%
6.00%
8.00%
11.00%
10.00%
19.00%
12.00%
9.00%
3.00%
8.00%
19.00%
5.00%
18.00%
6.00%
3.00%
12.00%
18.00%
5.00%
13.00%
18.00%
16.00%
3.00%
9.00%
13.00%
12.00%
3.00%
20.00%
11.00%
2.00%
4.00%
6.00%
9.00%
7.00%
19.00%
2.00%
20.00%
11.00%
7.00%
9.00%
15.00%
13.00%
10.00%
5.00%
6.00%
10.00%
18.00%
8.00%

the formula yields 10
--
Gary''s Student - gsnu200903


"DaveC" wrote:

I have a range of numbers, I3:I52 that contain percentages.
I need to count the number of cells that are between 9% and 11%.
I have tried multiple COUNTIF statements but that doesn't seem to work.
Any help is appreciated.
--
thanks, Dave

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Need to count a set of numbers in a range

Excel 2007 -
=COUNTIFS(I3:I52,"=.09",I3:I52,"<=.11")
--
If this post helps click Yes
---------------
Peggy Shepard


"jlclyde" wrote:

On Sep 11, 12:16 pm, jlclyde wrote:
On Sep 11, 12:08 pm, DaveC wrote:

I have a range of numbers, I3:I52 that contain percentages.
I need to count the number of cells that are between 9% and 11%.
I have tried multiple COUNTIF statements but that doesn't seem to work.
Any help is appreciated.
--
thanks, Dave


This is how to do it with Count if.
=COUNTIF(I3:I52,"<="&.11)-COUNTIF(I3:I52,"<="&.09)

Here is how to do it with Sumproduct
=SUMPRODUCT((I3:I52<=.11)*(I3:I52=.09)*(1))

Jay

This is with your range.
This is how to do it with Count if.
=COUNTIF(I3:I52,"<="&.11)-COUNTIF(I3:I52,"<="&.09)

Here is how to do it with Sumproduct
=SUMPRODUCT((I3:I52<=.11)*(I3:I52=.09)*(1))

Jay

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
Count Numbers Only Once in a Range iperlovsky Excel Discussion (Misc queries) 7 June 10th 09 02:50 AM
Count unique numbers in a range with a given criteria Nelson Excel Discussion (Misc queries) 4 February 9th 07 01:28 PM
Count comma separated numbers, numbers in a range with dash, not t Mahendra Excel Discussion (Misc queries) 0 August 8th 05 05:56 PM
get a count of numbers whose value falls within a given range LyleB_Austin Excel Worksheet Functions 5 August 3rd 05 04:38 PM
How do I count numbers in a range that are greater than and less . Clinic Reporter Excel Worksheet Functions 1 April 13th 05 08:47 AM


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