Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Greater than # but less than #

I want to do a count of how many #'s are between this %range (ex <=80%, <+99)
I am not having any luck doing this. Any help would be great!
thanks
--
PH3
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Greater than # but less than #

I'll assume you really mean,
greater then or equal to 80%
and
less then or equal to 99%

With data in A1 to A50,

try one of these:

=Countif(A1:A50,"=80%")-Countif(A1:A50,"99%")

OR

=Sumproduct((A1:A50=80%)*(A1:A50<=99%))
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"ph3nom3nalwoman" wrote in
message ...
I want to do a count of how many #'s are between this %range (ex <=80%,

<+99)
I am not having any luck doing this. Any help would be great!
thanks
--
PH3


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Greater than # but less than #

In cell B1 enter:
=COUNTIF(A:A,"<.99")-COUNTIF(A:A,"<0.8")
so if column A had:

0.8
0.85
0.98
0.999
0.7

the formula gives back 3
--
Gary''s Student - gsnu200789


"ph3nom3nalwoman" wrote:

I want to do a count of how many #'s are between this %range (ex <=80%, <+99)
I am not having any luck doing this. Any help would be great!
thanks
--
PH3

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Greater than # but less than #

Your example does not define a range (or at least not the kind I think you
are looking for) as they both specify less than type conditions. Also, one
is a percentage and the other is not. However, if you have a range such as
=2 and <9, you could use this to count it...


=SUMPRODUCT((A1:A10=2)*(A1:A10<9))

Just change the 2 and 9 values and the logical operator combinations to
match your requirements.

Rick


"ph3nom3nalwoman" wrote in
message ...
I want to do a count of how many #'s are between this %range (ex <=80%,
<+99)
I am not having any luck doing this. Any help would be great!
thanks
--
PH3


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
greater than.. Eclaires Excel Discussion (Misc queries) 5 July 9th 07 05:45 PM
I have Greater than, I need less than also rlee1999 Excel Worksheet Functions 3 December 12th 06 07:52 PM
if value is greater than # * by 20% if less * by 40 sypher New Users to Excel 1 November 9th 06 06:10 PM
Greater Than but Less than KaraGilsdorf Excel Worksheet Functions 5 October 18th 06 08:42 PM
IF greater than...IF less than....====== BenJAMMIN Excel Discussion (Misc queries) 3 May 29th 05 03:41 PM


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