#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 124
Default countif function

Please somebody!!

Having immense trouble with countif function. My situation is that I have a
range of values through time. I want to calculate the number of values below
the 95 percentile for those cells. I have used a formula of the form:
countif(C3:C263, "<percentile(C3:263, 0.95)") and tried removing speak-marks,
adding them in, tried calculating the percentile value in a seperate cell and
probably a lot more. Any ideas? Any help would be much appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default countif function

Try:
=sumproduct(--(c3:c263<percentile(c3:c263,.95))
--
Jim


"Charles" wrote:

Please somebody!!

Having immense trouble with countif function. My situation is that I have a
range of values through time. I want to calculate the number of values below
the 95 percentile for those cells. I have used a formula of the form:
countif(C3:C263, "<percentile(C3:263, 0.95)") and tried removing speak-marks,
adding them in, tried calculating the percentile value in a seperate cell and
probably a lot more. Any ideas? Any help would be much appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 124
Default countif function

Hi Jim,

Thanks a lot. Missing a bracket but the progrma fixed that anyway. I'll try
to figure out how that code works later but at the moment I have a thesis to
complete.

Thanks again

"JBoulton" wrote:

Try:
=sumproduct(--(c3:c263<percentile(c3:c263,.95))
--
Jim


"Charles" wrote:

Please somebody!!

Having immense trouble with countif function. My situation is that I have a
range of values through time. I want to calculate the number of values below
the 95 percentile for those cells. I have used a formula of the form:
countif(C3:C263, "<percentile(C3:263, 0.95)") and tried removing speak-marks,
adding them in, tried calculating the percentile value in a seperate cell and
probably a lot more. Any ideas? Any help would be much appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default countif function

Just add another criteria test like this:
=SUMPRODUCT(--(C3:C263<PERCENTILE(C3:C263,0.95)),--(F3:F263<PERCENTILE(F3:F263,0.95)))
--
Jim


"JBoulton" wrote:

Try:
=sumproduct(--(c3:c263<percentile(c3:c263,.95))
--
Jim


"Charles" wrote:

Please somebody!!

Having immense trouble with countif function. My situation is that I have a
range of values through time. I want to calculate the number of values below
the 95 percentile for those cells. I have used a formula of the form:
countif(C3:C263, "<percentile(C3:263, 0.95)") and tried removing speak-marks,
adding them in, tried calculating the percentile value in a seperate cell and
probably a lot more. Any ideas? Any help would be much appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 124
Default countif function

Another question now: I want to count the number of cells in the column I
mention below that are below the 95th percentile only if on another column in
that same row the value there is below its 95th percentile.

Basically I have two columns containing stock returns. I want to calculate
the number of times both stocks return an amount below their 95th percentile
return on the same day. Maybe that makes it easier to understand.

Thanks again

"Charles" wrote:

Please somebody!!

Having immense trouble with countif function. My situation is that I have a
range of values through time. I want to calculate the number of values below
the 95 percentile for those cells. I have used a formula of the form:
countif(C3:C263, "<percentile(C3:263, 0.95)") and tried removing speak-marks,
adding them in, tried calculating the percentile value in a seperate cell and
probably a lot more. Any ideas? Any help would be much appreciated.



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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
CountIf Function Question Josh in Indy Excel Discussion (Misc queries) 4 April 6th 06 08:28 PM
CountIF Function On Linked Spreadsheet Josh in Indy Excel Discussion (Misc queries) 0 April 5th 06 05:09 PM
can you use countif function for noncontiguous cells rutledbr Excel Worksheet Functions 2 November 13th 05 09:15 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM


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