+ Reply to Thread
Results 1 to 3 of 3

average/percentage

Hybrid View

  1. #1
    Registered User
    Join Date
    01-12-2009
    Location
    bloomfield, nj
    MS-Off Ver
    Excel 2003
    Posts
    12

    Cool average/percentage

    if you look at the spreadsheet, you will see I have 10 criterias either compliant or non-compliant. I want to convert the compliant criteria to a percentage. the percentage should show up in cell "Monthly Compliance". The percentage should change if Compliancy changes. Appreciate any help I can get or if you can make the spreadsheet better please feel free in sending me your ideas. Thanks.

    JR
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: average/percentage

    Hi JR,

    to calculate the percentage of the compliant criteria, you need to count the compliant rows and divide this number with the total number of rows.

    If you want to include only rows with entries in column A, your row count can be done with the formula

    =COUNTA(A5:A34)

    This function will count only cells with a value in them, text or number. You can count the number of compliant rows with the formula

    =COUNTIF(K5:K34,"compliant")

    This function will count only the cells that have the word "compliant"
    Now you can either calculate the percentage in a different cell, or you can combine the functions into one formula like this:

    Percentage of compliance

    =COUNTIF(K5:K34,"compliant")/COUNTA(A5:A34)

    format the result as a percentage and you're done.

    HTH

  3. #3
    Registered User
    Join Date
    01-12-2009
    Location
    bloomfield, nj
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: average/percentage

    Thanks formula works great.

    Jr

+ 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