Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default calculate percentage of numbers <= zero in a given range

I need to calculate the percentage of numbers, within a range of
cells, that are equal to zero or less than zero.

Simple example: numbers are 8, -1, 8, 8, 0, 0

The percentage of numbers that are equal to zero or less than zero
would be 3/6 or 50%

How can I do this in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default calculate percentage of numbers <= zero in a given range

See your other post for an answer - please do not multipost.

Pete

On Jul 23, 4:47*pm, spowel4 wrote:
I need to calculate the percentage of numbers, within a range of
cells, that are equal to zero or less than zero.

Simple example: * * * *numbers are 8, -1, 8, 8, 0, 0

The percentage of numbers that are equal to zero or less than zero
would be 3/6 or 50%

How can I do this in Excel?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default calculate percentage of numbers <= zero in a given range

=COUNTIF(A1:A6,"<=0")/COUNT(A1:A6) and format as percentage.
--
David Biddulph

"spowel4" wrote in message
...
I need to calculate the percentage of numbers, within a range of
cells, that are equal to zero or less than zero.

Simple example: numbers are 8, -1, 8, 8, 0, 0

The percentage of numbers that are equal to zero or less than zero
would be 3/6 or 50%

How can I do this in Excel?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default calculate percentage of numbers <= zero in a given range

Try this:

=COUNTIF(A1:F1,"<=0")/COUNT(A1:F1)

Format as percentage

--
Biff
Microsoft Excel MVP


"spowel4" wrote in message
...
I need to calculate the percentage of numbers, within a range of
cells, that are equal to zero or less than zero.

Simple example: numbers are 8, -1, 8, 8, 0, 0

The percentage of numbers that are equal to zero or less than zero
would be 3/6 or 50%

How can I do this in Excel?



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
Calculate Percentage of True (or False) in a range Graham Excel Discussion (Misc queries) 10 April 2nd 23 08:57 PM
calculate percentage in pivot dan Excel Discussion (Misc queries) 1 September 22nd 06 04:16 PM
calculate percentage JP Excel Worksheet Functions 6 March 2nd 05 02:34 PM
Forumla to calculate a percentage julie regan Excel Discussion (Misc queries) 0 January 20th 05 07:53 PM
calculate percentage of two cells Suzie Excel Worksheet Functions 4 December 3rd 04 05:27 PM


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