+ Reply to Thread
Results 1 to 4 of 4

formula

  1. #1
    Registered User
    Join Date
    01-26-2009
    Location
    hartland, Michigan
    MS-Off Ver
    Excel 2007
    Posts
    9

    formula

    I am looking for a formula for the following

    I have 20 therapists that I list deficiencies for. They can range anywhere from 0 to 25. I need to track week after week the following. 0 deficiencies would = 100 % compliance. 1-4 deficiencies would be partial compliance and 5 or greater would pose 0 % compliance. I have come up with a formula as follows for the first component ( 0 def. = 100%)=COUNTIF(J6:AL6,"=0")/COLUMNS(J6:AL6). However, I can't get a formula to work that would incorporate the other 2 scenarios. Any solutions?
    Thanks,
    Kim

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: formula

    Kim, were you not already provided with a solution for this ?

    http://www.excelforum.com/excel-work...e-formula.html

    ie:

    =LOOKUP(SUM(J6:AL6),{0,1,5},{"100% Compliant","Partial Compliant","0% Compliant"})

  3. #3
    Registered User
    Join Date
    01-26-2009
    Location
    hartland, Michigan
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: formula

    Yes, that formula does work. Now my coworker would like the partially compliant to actually be a percentage and not just be "partially compliant".
    How would I change this to reflect a percentage instead of that statement?
    Kim

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: formula

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.
    Entia non sunt multiplicanda sine necessitate

+ 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