Share via

Countif function and finding percentage

Anonymous
2010-11-09T13:20:34+00:00

ihave a column of data with numbers ranging from 1 - 12 in that column.  i want to know how to find the percentage of times a number is = or < 5 out of the whole collection of data.

so below is my collection of data.  there are 10 numbers.  3 of those numbers are =/< 5.  thus, 3 out of 10 = 30%.  How do i write this in a formula for a cell??  Thanx for your help!!  --4max

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-11-09T13:22:50+00:00

    Hi,

    Try this and format as %

    =COUNTIF(A1:A10,"<="&5)/COUNT(A1:A10)


    If this post answers your question, please mark it as the Answer.

    Mike H

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-11-09T15:31:51+00:00

    Why not the non-array

    =COUNTIF(A1:A10,"<=5")/COUNT(A1:A10)

    --

    HTH

    Bob

    <Bernd Pl> wrote in message news:*** Email address is removed for privacy ***...

    One way:

    Array-enter

    =COUNT(IF(A1:A10<=5,1))/COUNT(A1:A10)

    Regards,

    Bernd


    http://www.sulprobil.com/html/excel_forums.html

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-11-09T13:44:50+00:00

    Your welcome and thanks for the feedback


    If this post answers your question, please mark it as the Answer.

    Mike H

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-11-09T13:43:25+00:00

    Great!  thx!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-11-09T13:26:51+00:00

    One way:

    Array-enter

    =COUNT(IF(A1:A10<=5,1))/COUNT(A1:A10)

    Regards,

    Bernd


    http://www.sulprobil.com/html/excel_forums.html

    Was this answer helpful?

    0 comments No comments