+ Reply to Thread
Results 1 to 5 of 5

Percentage of 1s

  1. #1
    Ben
    Guest

    Percentage of 1s

    I have a column that has 1s or 0s, 1 equals female, 0 equals male. I want to
    know what percentage is female. Is there a function that would do that?

    Thank you.

  2. #2
    Niek Otten
    Guest

    Re: Percentage of 1s

    =AVERAGE(A1:A10)

    Format as %

    --
    Kind regards,

    Niek Otten

    "Ben" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column that has 1s or 0s, 1 equals female, 0 equals male. I want
    >to
    > know what percentage is female. Is there a function that would do that?
    >
    > Thank you.




  3. #3
    R..VENKATARAMAN
    Guest

    Re: Percentage of 1s

    =COUNTIF(A10:A25,0)/COUNT(A10:A25)

    data is in A10 to A25
    format is as percentage


    "Ben" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column that has 1s or 0s, 1 equals female, 0 equals male. I want
    >to
    > know what percentage is female. Is there a function that would do that?
    >
    > Thank you.




  4. #4
    R..VENKATARAMAN
    Guest

    Re: Percentage of 1s

    sorry that gives perenage of males
    for femaltes
    =COUNTIF(A10:A25,1)/COUNT(A10:A25)
    "Ben" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column that has 1s or 0s, 1 equals female, 0 equals male. I want
    >to
    > know what percentage is female. Is there a function that would do that?
    >
    > Thank you.




  5. #5
    Gizmo63
    Guest

    RE: Percentage of 1s

    count the number of 1's and divide by the total number of 1's and 0's.

    =countif(a:a,1)/(countif(a:a,1)+countif(a:a,0))

    Making the second half a sum of specifically 1's and 0's allows subtotals
    and other commentary to go in col A without confusing the formula.

    hth

    Giz

    "Ben" wrote:

    > I have a column that has 1s or 0s, 1 equals female, 0 equals male. I want to
    > know what percentage is female. Is there a function that would do that?
    >
    > Thank you.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1