#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rex Rex is offline
external usenet poster
 
Posts: 26
Default Percentages

How do I calculate the percentage of numbers (A1:A4) that are 120
or 70 and <120?

11, 10, 122, 96

Numbers 120 = 25%

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Percentages

Do you mean something like:

=COUNTIF(A1:A4,""&120) / COUNT(A1:A4)

formatted as a percentage. If you want the number within a range, try
this:

=COUNTIF(A1:D1,"<="&120) - COUNTIF(A1:D1,"<"&70)

Essentially, count the number that are less than or equal to 120 and
subtract the number that are less than 70.

Hope this helps.

Pete

Rex wrote:
How do I calculate the percentage of numbers (A1:A4) that are 120
or 70 and <120?

11, 10, 122, 96

Numbers 120 = 25%


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rex Rex is offline
external usenet poster
 
Posts: 26
Default Percentages

How do I calculate what percentage is beween a range?

=countif(a1:a4,"=100 and <=120") /count(a1:a4)

Thanks

"Pete_UK" wrote:

Do you mean something like:

=COUNTIF(A1:A4,""&120) / COUNT(A1:A4)

formatted as a percentage. If you want the number within a range, try
this:

=COUNTIF(A1:D1,"<="&120) - COUNTIF(A1:D1,"<"&70)

Essentially, count the number that are less than or equal to 120 and
subtract the number that are less than 70.

Hope this helps.

Pete

Rex wrote:
How do I calculate the percentage of numbers (A1:A4) that are 120
or 70 and <120?

11, 10, 122, 96

Numbers 120 = 25%



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rex Rex is offline
external usenet poster
 
Posts: 26
Default Percentages

Got it, thanks for your help.

=SUMPRODUCT(--(H1:H52100),--(H1:H52<120))/COUNT(H1:H52)

"Rex" wrote:

How do I calculate the percentage of numbers (A1:A4) that are 120
or 70 and <120?

11, 10, 122, 96

Numbers 120 = 25%

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
Frogs in the pond - Display percentages not numbers Oliver J. Charts and Charting in Excel 6 October 6th 06 03:21 PM
Frogs in the pond - percentages not numbers Oliver J. Teapot Charts and Charting in Excel 1 October 6th 06 12:40 PM
stacked bar chart with percentages name Charts and Charting in Excel 2 July 21st 06 02:28 PM
Rounding percentages problem need a solution for jimtmcdaniels Excel Discussion (Misc queries) 2 April 27th 06 08:22 AM
What format do I use to mail merge percentages? Lily1521 Excel Discussion (Misc queries) 1 April 17th 06 02:38 PM


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